How to add security headers in response of the react js app

github logo ・1 min read


I have a react js application. I want to add some security headers in every response that's being returned from the app. Could you please suggest how to implement this !

NOTE : I am not trying to call any api with headers in request. I want my react app to respond with some security headers in the response

I have asked the same question in Stackoverflow but no luck in getting the answer.

Can somebody help me to achieve this !

I'm pretty new to react js development.

twitter logo DISCUSS
Classic DEV Post from Apr 3

How do you feel about chasing internet points, badges and the gamification of everything?

I'll admit up front, I'm chasing the 16-week streak posting badge and am...

sjabiulla profile image

DEV is where software developers grow up

Sign up (for free)