Endpoint for Upload a file
AnsweredHi,
Can we use endpoint (https://api.box.com/2.0/files/content/) instead of (https://upload.box.com/api/2.0/files/content/) to upload a file.
If so, please share sample code.
Thanks
-
Official comment
Hey Lin,
I recommend using our published upload endpoint.
Thanks,
Alex, Box Developer Advocate
Comment actions -
Apologies, I was getting the threads mixed up. For Salesforce, our sample code does actually use the url https://api.box.com/2.0/files/content/ in the generic method- but I believe the file size limitations described here are still valid. I would absolutely look into doing a Box Consulting engagement around salesforce enablement or reach out to our support team for help. We are working on beefing up our Salesforce documentation, so look for that coming soon.
Please sign in to leave a comment.
Comments
4 comments