The Essentials 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 set 'Accept: application/json'
in your header.
'Content-Type: application/json'
in your header.
Copyright © 2020 MYOB Technology Pty Ltd