Nestjs axios headers We also discussed how to conditionally set headers, and found solutions for common HTTP headers-related issues that many web Dec 9, 2021 · async post(){ reqId = "uuid" await service. ts: Feb 13, 2021 · We want to add dynamic headers to NestJS outgoing requests to REST API server, which uses axios. app. Import HttpModule into your NestJS . js server-side applications. 0, last published: 4 months ago. head(uri); May 30, 2020 · I have a NestJS application which acts as a proxy between a front-end and multiple other back-ends. It contains the usual methods in Axios and the same but wrapped in an rxjs Observable. Our NetworkModule looks like this, Which simply injects AxiosService in NetworkController. content_copy @ Post @ Header ('Cache-Control', 'no-store') create {return 'This action adds a new cat';} Hint Import Header from the @nestjs/common package. dlaaqwogkjkyheevfqqhxauldafidudffrakvbjeospgnozltaii