Hi Team, the below curl command is working fine but when i used in python as below. it is throwing 405 Method not allowed error. python request - requests.post(url, json=credentials, headers=headers) Curl command - curl --request POST 'https://api3.prismacloud.io/login' -H 'Content-Type: application/json' -data '{"username":"<Access Key ID>","password":"<Secret Key>"}' please check and help me to fix this
Hi Team,
the below curl command is working fine but when i used in python as below. it is throwing 405 Method not allowed error.
python request - requests.post(url, json=credentials, headers=headers)
Curl command - curl --request POST 'https://api3.prismacloud.io/login' -H 'Content-Type: application/json' -data '{"username":"","password":""}'
please check and help me to fix this