For query params, yeah, the `?key=value` should work, but some APIs are weird. Try `--get` flag with `--data-urlencode` for cleaner params:
```bash
curl --get --data-urlencode "q=test" https://api.example.com/search
```
Also, check the API docs—maybe the param is case-sensitive or needs a specific format.
```bash
curl --get --data-urlencode "q=test" https://api.example.com/search
```
Also, check the API docs—maybe the param is case-sensitive or needs a specific format.
