WIP: Error handling for post request when response object is populated with a status code other than 200
Addresses issue #34
response object is populated but with a status code other than 200(success) then the error message lies in the value of body.error