I'm loading a login form to conduct user verification. I was wondering if I could limit an endpoint in flask
app to only respond to browser requests in which I previously loaded the form for.
I think CSRF token may be an option but I was wondering if there's a better way to do it.
I want to be able to forbid Postman, curl & other user agents from sending requests to a particular endpoint, unless it is from a browser with the UI login form.