As part of my CloudFlare implementation my origin webserver must run an endpoint that returns all HTTP request headers in the body of the HTTP response.
The endpoint can be something written in php, jsp, aspx for example or through a 3rd party application such as HTTPBin.
I have never done this before so it would be great if anybody could share a working version of such code or point me in the right direction on how to go about it.
Many thanks
L. Genevieve