Monday 24 June 2019

NestJS Intercept Outgoing Request and Modify Header

I am using NestJS (v5) for a micro service and I for the life of me cannot figure out how to add a header to all outgoing requests (I can easily get the response headers modified).I created an interceptor that is intercepting all outgoing requests, but even setting the request header, it is not actually getting added on the request. Can anyone help with this?

Submitted June 24, 2019 at 08:27PM by noahmateen

No comments:

Post a Comment