- In the address bar in FireFox, type “about:config”.
- Click the “I promise” button.
- In the search bar type “network.http.accept.default”.
- Double-click the Preference Name.
- Enter the String value as "application/json;odata=verbose"
Now when we use FireFox to view WebApi results it defaults to JSON and not XML
No comments:
Post a Comment