REST service issue

0
Hi, We are trying to connect to a REST service using the following tags in the header:     The following error is being thrown:   Thaks.
asked
3 answers
1

Heey Mikel,

 

Did you try calling this REST-service without the Content-Lenght in your custom headers? It looks like custom-lenght is automatically added to the header already.

 

Kind regards,

Edo

answered
0

grant_type is related to Authentication, worth checking whether REST service need some authentication i.e basic or oAuth 2.0 etc.

answered
0

HI Mikel Castro,

Is your API working well in postman, if yes, check the headers and the request that is sent from the postman and add the same in mendix. 

You can trace the request in the postman console and check what all headers are required.
https://www.tutorialspoint.com/how-to-see-request-logs-in-postman-console

 

 

answered