needle
needle copied to clipboard
Basic Auth { username, password, auth: "basic" } is not working
I switched to needle, and basic auth is not working. It is not setting the authorization header properly.
I tried setting these options and it doesn't work. When I manually enter the header, that works.
{ username: ZD_CONFIG.email + '/token', password: ZD_CONFIG.api_token, auth: 'basic', }
What response are you receiving from the endpoint? Can you try with DEBUG=needle
to see what's going on behind the curtains?