Answer the question
In order to leave comments, you need to log in
How to implement ajax+python registration and authorization?
Can you tell me how to implement the registration form?
There is a django rest api, I can’t figure out how to send data from the fields on the form for user registration from html.
It is required to implement ajax+python registration and authorization.
Answer the question
In order to leave comments, you need to log in
Well, as it were for your case, data is sent not "from html", but through javascript. When using jQuery ajax, post, get methods. It's on the client side. And the python on the server side must process the url, through which the data for authorization is transmitted.
With ajax requests, the standard sending "from html" is not used at all, it is emulated by the jQuery ajax, post, get methods.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question