Merge pull request #463 from ssweber/patch-1

Handle encoding for json in python example
This commit is contained in:
Timothy Jaeryang Baek 2025-03-31 16:12:38 -07:00 committed by GitHub
commit 3a54c302a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ To ensure secure access to the API, authentication is required 🛡️. You can
}
]
}
response = requests.post(url, headers=headers, data=data)
response = requests.post(url, headers=headers, json=data)
return response.json()
```