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: 

BIM 360 Field API Issues V1: GET Request does not work with Restsharp

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

BIM 360 Field API Issues V1: GET Request does not work with Restsharp

Trying to implement var client = new RestClient("https://bim360field.autodesk.com/fieldapi/checklists/v1/06eede44-a707-4f0b-9529-78abea6e6bf5"); var request = new RestRequest(Method.GET);https://bim360field.autodesk.com/apidoc/index.html#fieldapi/checklists/v1/checklists_api_method_2 in my C# solution.

I've set up an example Get Request in Postman. Works perfectly with the form-data, x-www-form-urlencoded, no auth, bearer token. Tried to copy the exact Restshap Request code from Postman to my C# app. Does not work; always responds with "Unauthorized". Tried changing cookie mngmt, and auth window/nltm mngmt. Did not help.

1 REPLY 1
Message 2 of 2
eason.kangEDLV4
in reply to: Anonymous

Hi,

Your question and project look like the same as this StackOverflow thread https://stackoverflow.com/q/57093538/7745569

 

Haven't you tried my answer here?

 

https://stackoverflow.com/a/57104838/7745569

 

Cheers,


Eason Kang
Developer Advocate
Developer Advocacy & Support Service
Autodesk Platform Service (formerly Forge)

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

Post to forums  

Autodesk Design & Make Report