Answer the question
In order to leave comments, you need to log in
How to properly filter GET requests made from the browser?
There is a small REST interface that reconfigures the service based on GET / POST requests. So far, I just started doing it, but I ran into a problem due to the peculiarities of modern browsers. The request from the browser is executed 2 times, which breaks the logic of work. Well, since this is the easiest and fastest option to update the configuration, the majority will naturally use it. Disabled user-agent on the web server according to the pattern (mozilla|chrome|safari).
Will this be enough?
Are there other options for restricting requests from browsers?
Answer the question
In order to leave comments, you need to log in
The request from the browser is executed 2 times
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question