Hey everyone,
So, I’m trying to make a curl get request to this API, and it’s driving me nuts. Like, I’ve double-checked the URL, added headers, and even tried with and without params, but it’s just not returning the data I expect.
Am I missing something obvious here? I mean, the curl get request *looks* fine to me, but the response is either empty or just some generic error.
Here’s what I’m using:
```bash
curl -X GET "https://api.example.com/data" -H "Authorization: Bearer token123"
```
Is it the headers? The endpoint? Or am I just cursed? 😅
Any tips or ideas would be super appreciated. Thanks in advance!
(Also, sorry if this is a dumb question—I’m still kinda new to this curl get request stuff.)
So, I’m trying to make a curl get request to this API, and it’s driving me nuts. Like, I’ve double-checked the URL, added headers, and even tried with and without params, but it’s just not returning the data I expect.
Am I missing something obvious here? I mean, the curl get request *looks* fine to me, but the response is either empty or just some generic error.
Here’s what I’m using:
```bash
curl -X GET "https://api.example.com/data" -H "Authorization: Bearer token123"
```
Is it the headers? The endpoint? Or am I just cursed? 😅
Any tips or ideas would be super appreciated. Thanks in advance!
(Also, sorry if this is a dumb question—I’m still kinda new to this curl get request stuff.)
