OMG THANK YOU ALL! The `-v` flag saved me—turns out the API was redirecting to a login page.
Added `-L` to follow redirects and it worked! Also, the `User-Agent` trick was golden.
Still weird it works in-browser but not raw http curl tho. 🤔 Anyways, crisis averted!
Added `-L` to follow redirects and it worked! Also, the `User-Agent` trick was golden.
Still weird it works in-browser but not raw http curl tho. 🤔 Anyways, crisis averted!
