External Api not returning any response
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2025 02:52 AM
import requests
url = "https://example.com/api"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
}
Payload = json.dumps({json_data})
response = requests.post(url, headers=headers, data=Payload)
print(response.status_code)
print(response.text)
this is running for very long time
Same url is working for other payload
could you please let me know why this is happening?