/v3/3rd/files/:file_id/upload/address 接口的问题

Viewed 116

upload/address返回如下: {"code":0,"data":{"method":"PUT","url":"http://***********/weboffice/wps_save.php","headers":{"Content-Type":"application/octet-stream"}}}

服务器nginx日志: [13/Feb/2023:19:47:40 +0800] 110.43.67.246 "PUT /weboffice/wps_save.php HTTP/1.1" 200 38 0.001 0.084

收不到put的文件,请问怎么回事?

1 Answers

根据你的nginx日志,请求已经发过去了

读取文件内容可以用file_get_contents("php://input")读取

读不到的