cancel
Showing results for 
Search instead for 
Did you mean: 

Cutom OData response in Json

Jakub
Participant
0 Kudos

Dear all,

After creating custom OData with based Authentication on the technical user I can't get a response in JSON format. I set Content-Type: application/json but in postman, I can't get JSON in response. Anybody knows why ?

2020-09-01-10-06-37-postman.png

View Entire Topic
jravnik
Participant

Dear Jakub,

you can either use the query parameter as seen in your screenshot:

Alternatively you can set the header Accept to application/json:

Both should give you the same result.

Best regards
Jürgen

Jakub
Participant
0 Kudos

Dear Jürgen,

Thanks for your response. In the POST method the key to solve my problem was Accept to application/json