I need to access Resilient's API with Node.js by using an API-key and API-secret generated in Resilient.
How do I define the headers when making a http request to resilient API?
I am using
superagent
And have tried sending the authentication in different ways

I tested it in Postman using the Basic Authentication, but I just get timeout on the request.

So I suspect that there is something about my request headers that are not quite right.
If someone have any experience with Resilient and Node.js it would be much appreciated
------------------------------
Andreas Fiehn
------------------------------