I have an xml body and I want to invoke the "odata" web server by sending a post request. But when I edit the content-type with application/xml or application/atom+xml, I get the error message "invalid json type for an entity". Is it possible to post xml to call OData v4 endpoint?
Asked
Active
Viewed 80 times
0
-
It depends on the endpoint you are calling. Looks like that endpoint support only json – user2250152 Sep 22 '22 at 05:33
-
have you any idea about "$format" query option. If I use this option can i call OData service by posting xml? – Emir S. Sep 30 '22 at 12:15