How to properly use python requests post for sending data? or What's the best way to handle a python

16 Replies, 2009 Views

If it’s hanging, could be a SSL issue. Try `verify=False` (just for testing!):
```python
response = requests.post(url, json=data, verify=False)
```

But don’t leave it like that in prod—it’s insecure. Also, check if the API has a /health or /status endpoint to see if it’s alive.

Messages In This Thread



Users browsing this thread: 1 Guest(s)