Rest Service Export Mapping outputs xml instead of JSON
If I used the default configuration of REST service for export mapping and if that export mapping happens to be using a message definition it seems to be returning XML in some cases. especially when I am testing locally on my PC. What would be the reason for this strange behavior? Any setting I need to change?
Add in your request the header ‘Accept’ with value ‘application/json’