pull down to refresh

I’m building something in NodeJS.

Headers look great, body looks great, I run the app and sent the request, it returns ‘401, Unauthorised’… every. Damn. Time.

FML.

Better check those headers again ;)

reply

Good call, headers rechecked.

In the end it was a malformed endpoint URL (it's an Auth API, so needs a variable passed in), a little debug sesh and voilà, problem resolved.

Feels good!

reply