csrf-protection

How do I pass a CSRF token using the python-requests library?

How do I pass a CSRF token using the python-requests library? Question: I have an app which needs to redirect to another url from outside with some POST data. I have the CSRF token value to the other app. How do I construct a simple POST request with requests library in Python?? csrf_token = “kjsbfckjsdnfcksdnkl” …

Total answers: 5