3 ms·
If I transmit SOAP or JSONRPC over http, both of which use the response payload itself to contain whether the request was an error or not, what should the statu
by PantaloonFlames 1y ago
If I transmit SOAP or JSONRPC over http, both of which use the response payload itself to contain whether the request was an error or not, what should the status be in case of error ?
I jsonrpc I think 200 OK is correct with an error payload that says “you are not authorized” or similar.
- jen20 1y ago> over http > what should the status be in case of error 400 to 500 range status code. You can't ignore the lower level protocol because you're implementing a higher level one.