What exactly does requests.post in Python mean? Need a clear explanation! or Can someone explain the

20 Replies, 1114 Views

Dude, requests.post in python meaning is just "send this data plz."

GET is like asking for a menu. POST is like ordering food.

Try this:
```python
requests.post('https://some-api.com/login', data={'username': 'you', 'password': '123'})
```
(Don’t actually send passwords like this tho—use HTTPS!)

Messages In This Thread



Users browsing this thread: 1 Guest(s)