Hey! For httpx send post request, you’re on the right track with the `json` parameter. If you’re sending JSON data, httpx will automatically set the `Content-Type` to `application/json` for you.
If you need custom headers, just pass them in the `headers` parameter like this:
```python
headers = {'Authorization': 'Bearer YOUR_TOKEN', 'Custom-Header': 'value'}
response = httpx.post('https://example.com/api', json={'key': 'value'}, headers=headers)
```
For a quick cheatsheet, check out the official httpx docs: https://www.python-httpx.org/. They’ve got great examples for httpx send post request scenarios.
If you need custom headers, just pass them in the `headers` parameter like this:
```python
headers = {'Authorization': 'Bearer YOUR_TOKEN', 'Custom-Header': 'value'}
response = httpx.post('https://example.com/api', json={'key': 'value'}, headers=headers)
```
For a quick cheatsheet, check out the official httpx docs: https://www.python-httpx.org/. They’ve got great examples for httpx send post request scenarios.
