API 2.0 how to upload file with POSTMAN?

余生长醉 提交于 2020-01-14 04:41:26

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!