The EXO API returns JSON - you don't need to explicitly tell the API to return in this format. However, if you like to be sure you are receiving JSON you can:
?format=json flag in the URL, for example:
accept: application/json as one of the headers.
If you are passing data to the EXO API using PUT or POST format you must set
Content-Type: application/json in your header.
Copyright © 2020 MYOB Technology Pty Ltd