How do we access response headers in Javascript ?

Dhanush N - Feb 8 '21 - - Dev Community

I am setting a correlation Id in node js application & I need to access it in the frontend to pass in the request again. Not sure how to access.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .