How to get Odata Web API to return XML data
1 answer
If you are using OData V4, JSON is the standard and recommended format for the response payload and also the OASIS standard. Therefore, I highly recommend that you use JSON unless you have a specific reason. If you need to get the XML format, the WebAPI OData $ format to xml stream may be helpful .
0
source to share