Create an endpoint on webserver

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

I am afraid that is somewhat off-topic for the forum here. You might want to try at StackOverflow.

1 Like