Forum Discussion

nkm's avatar
nkm
Experienced User
4 years ago

Get response codes from MYOB AccountRight API

Hi, I am doing POST, PUT and DELETE API calls to myob accountright API, and when there is a success, it does not return a reponse body. Is there any way to retrieve the response code? I would like t...
  • The_Doc's avatar
    4 years ago

    Hi nkm 

     

    Yes the Response Header always gives the se codes - success or otherwise - I use both - a bombout sometimes I just look for a word in the repsonse for a successful call but I do always get the Header.

     

    The Doc