If you’re just starting with curl make request, keep it simple.
```
curl -s https://example.com
```
The `-s` silences the progress bar, so it’s cleaner.
For APIs, `-H` is your friend:
```
curl -H "Accept: application/json" https://api.example.com/data
```
```
curl -s https://example.com
```
The `-s` silences the progress bar, so it’s cleaner.
For APIs, `-H` is your friend:
```
curl -H "Accept: application/json" https://api.example.com/data
```
