Pro tip: Use `httpie` instead of curl. Way more human-friendly.
But if you’re stuck with curl make request:
```
curl -G \
"https://example.com/api" \
--data-urlencode "search=query" \
-H "User-Agent: MyApp"
```
`-G` + `--data-urlencode` = clean GET params.
But if you’re stuck with curl make request:
```
curl -G \
"https://example.com/api" \
--data-urlencode "search=query" \
-H "User-Agent: MyApp"
```
`-G` + `--data-urlencode` = clean GET params.
