Answer the question
In order to leave comments, you need to log in
How to make it so that the request is only from the front?
I want to validate data from the form on the front so as not to load the server.
How can I make it so that the request to the server comes only from the front, but nothing else?
Answer the question
In order to leave comments, you need to log in
No way. You can use CSRF, but it is not 100% guaranteed. The backend must always check the incoming data itself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question