For some reason I am facing an issue using the login API through Python which works fine when using Postman:
import requests
checkpoint_session = requests.session()
checkpoint_session .headers.update({r"Content-Type": r"application/json"})
checkpoint_session .post(r"https://<IP>/web_api/v1.1/login", verify=False, data={
"user": "<user>",
"password": "<password>"
})
The return from the post request would be: "Login request message processing failed."
(The access settings is set to All IP addresses. And I run the script from the same machine that I run Postman.)
What could be the problem?