Need Help with a curl GET Request – Why Isn't It Returning the Expected Data?

11 Replies, 1885 Views

Hey everyone,

Wow, thanks for all the awesome suggestions! I tried adding the `-v` flag to my curl get request, and it showed me that the token was actually expired. 🤦‍♂️ I regenerated it, and now it’s working perfectly!

I also checked out Postman like a few of you suggested, and it’s been a huge help for testing other endpoints. Seriously, you guys are lifesavers.

One quick follow-up—do you think I should use `-L` for all my curl get requests, or only when I suspect redirects? Just curious if it’s a good practice or not.

Thanks again! You all rock. 😄

Messages In This Thread



Users browsing this thread: 1 Guest(s)