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:
Pass the ?format=json
flag in the URL, for example:
http://exo.api.myob.com/contacts?format=json
Or pass 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