Skip to main content
Question

About Box's File Upload API (cURL)

  • May 23, 2025
  • 1 reply
  • 17 views

Forum|alt.badge.img

Hello,

I have a question regarding the API for uploading files, which you can find here: https://developer.box.com/reference/post-files-content/.

In the "cURL" section of the Request Example, even when I use the correct parameters and send the request, it results in a 404 error. I suspect the URL used for the POST request might be incorrect.

Upon checking the Upload file documentation, it specifies the URL for the POST request as https://upload.box.com/api/2.0/files/content, and this URL seems to work perfectly.

Would it be correct to assume that there might be an error in the Request Example provided?

Thank you.

 

1 reply

Forum|alt.badge.img

Hi Kentaro,

Welcome to Box Community and glad to assist!

I have created a ticket and a member from Product Support will get in touch, please keep an eye out. 

Thanks for posting!