问题
I'm reading API 2.0 documentation and try using POSTMAN (recommended in the documentation).
In "Upload a file" section, I got "404 not found" error.
for example:
{"type":"error","status":404,"code":"not_found","help_url":"","message":"Unknown Error","request_id":"11139828924fa91c0d283d2"}
POSTMAN window image is here. Base URL is tring "upload.box.com/api/2.0" (temporary, according to the document).
What's wrong?
回答1:
The domain specific Upload issues have all been resolved. You can now direct all API requests, including uploads, to https://api.box.com/2.0
回答2:
One more point, your POSTMAN request misses to indicate folder_id
in its form data . You need that "folder_id
" value for the request to work .
来源:https://stackoverflow.com/questions/10500241/api-2-0-how-to-upload-file-with-postman