Hey,
I want to change the HTTP response (both errors and message) that is returned by the server.
Two examples:
- If a user tries to send a PUT request in order to create an item, I want to return him a "ERROR 501 Not Implemented" response.
- If a user sends a POST request that requires a lot of processing power, I want to return HTTP 202 (Created).
Would you be able to provide me the best practice of implementing those HTTP responses customizations?
Thanks alot for your help,
Tomer.