Skip to main content

Hi,


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

Hey Lin, 


I recommend using our published upload endpoint. 


Thanks, 


Alex, Box Developer Advocate


Thanks Alex, I already tried it but Toolkit is not working with upload.com endpoint. It is worked only with api.com endpoint.


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. 


Thanks please let’s know documentation is release. That’s right file size limit is hard wall. I am also trying with REST API but not sure it will work. If you have solution for that please kindly share.


Reply