PSA: `--data-urlencode` is a lifesaver for query params with spaces/symbols. Example:
`curl -G "https://example.com/api" --data-urlencode "q=hello world"`
The `-G` forces GET (else it’ll default to POST).
Also, `jq` is clutch for parsing JSON responses. Pipe your curl make request to `jq` like `curl ... | jq`.
`curl -G "https://example.com/api" --data-urlencode "q=hello world"`
The `-G` forces GET (else it’ll default to POST).
Also, `jq` is clutch for parsing JSON responses. Pipe your curl make request to `jq` like `curl ... | jq`.
