PaloAltoNetworks / prisma.pan.dev

The home of Developer docs for Prisma by Palo Alto Networks
https://prisma.pan.dev
MIT License
21 stars 38 forks source link

Issue with "Prisma Cloud API Error Responses" #270

Open rmchndrn2192 opened 1 year ago

rmchndrn2192 commented 1 year ago

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

welcome-to-palo-alto-networks[bot] commented 1 year ago

:tada: Thanks for opening your first issue here! Welcome to the community!