Best way to make an HTTP request from a CLI console? or How do you handle CLI console HTTP requests e

16 Replies, 1733 Views

Forget tools—just write a tiny Python script with `requests`. It’s not *pure* cli console http requests, but it’s way more readable.

```python
import requests
print(requests.get("example.com").text)
```

Save it as `get.py` and run it anytime. No flags, no fuss.

Messages In This Thread



Users browsing this thread: 1 Guest(s)