Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ramlashkar's avatar

Sending Post requests from python console, getting error 406

import requests

url = 'https://kargokart.in/api/login' data = { 'email': '[email protected]', 'password': '12345678'} r = requests.post(url, data=data) print (r)

<Response [406]>

0 likes
3 replies

Please or to participate in this conversation.