Can I use custom HTTP codes?
I want to use these codes as an answer to AJAX requests.
Example:
220 - will correspond to the status that some element was created successfully 420 - will correspond to the status that some verification errors have occurred
Each response will contain a json string.
source share