Answer the question
In order to leave comments, you need to log in
How to return json during user authorization/registration?
Good morning. Tell me please. When authorizing / registering as a user, the caravel seems to give json. Is it possible to modify this somehow? Those. so that it returns json like: fail: true if there are errors, and put errors in the fail object, in the form of key\value. Now it immediately returns key/value and does not return a message about successful authorization/registration.
Answer the question
In order to leave comments, you need to log in
That's right, you don't need any statuses, they are in the headers
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question