https://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/rest/rest.html
I've read this page forwards and backwards but I'm hoping I'm just missing something. When I make an RESTful API call and the service sends back a HTTP 400 response, I don't get back the error data. It seems like the only way to get the error data is to make the call asynchronous and specify a callback.
Documentation for the making RESTful APIs says you should use HTTP return codes to specify error conditions. I.E. request could not be completed, return error code 400.
Given this is how you're supposed to develop RESTful APIs, it seems odd there's no way to get databack after a non-HTTP 200 response.