Community
BIM 360 API Forum
Welcome to Autodesk’s BIM 360 API Forums. Share your knowledge, ask questions, and explore popular BIM 360 API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Filedata format for POST /api/library/publish

1 REPLY 1
Reply
Message 1 of 2
Anonymous
238 Views, 1 Reply

Filedata format for POST /api/library/publish

How is the binary data formatted for the Filedata parameter to the POST /api/library/publish method ?  The example in the API documentation only shows the format of a curl command.  This is a general problem wih the API documentation - it does not show the actual text of example HTTP requests, just how to use the API using RestSharp or curl, or JavaScript.  If the HTTP text was shown then the documentation would be much more useful (IMHO!)

1 REPLY 1
Message 2 of 2
mikako_harada
in reply to: Anonymous

Hi Matthew, 

 

Not sure if I understand your question. But if you are looking for a sample with a specific programming language to call REST API, it is usually a challenge to provide exhaustive list.  That's why we use CURL as it's a command line and easy to test.  Also, personally, I use Postman quite a lot.  You can type parameters and there is an option to generate a sample code in several languages.  I wrote a blog post about a few tools I use sometime back. It's a bit old now. But the tool itself is quite intuitive. You may want to give it a try. 

 

https://fieldofviewblog.wordpress.com/2015/03/24/tools-for-testing-rest-api/ 

 

 


Mikako Harada
Developer Technical Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report