When using client.Request().Send() the RequestResponse doesn't include the errors JSON key. Without that the only thing we will get back from the server is Bad request if the server returns a 400 error. It would be better if the response also contains the error list because that will contain details error messages for each field.
I'll make a PR tomorrow to fix this.
When using
client.Request().Send()theRequestResponsedoesn't include theerrorsJSON key. Without that the only thing we will get back from the server isBad requestif the server returns a 400 error. It would be better if the response also contains the error list because that will contain details error messages for each field.I'll make a PR tomorrow to fix this.