Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I have a web application that makes requests to another 3rd party RESTful web application. In order to increase security, I want to move all requests to the 3rd party off of my public facing web server and on to a separate server that will act as a proxy. I want the proxy to make a single change to the request it receives (to fill in a secret API key), then forward the request on to the 3rd party and then pass the response on to my public server. What is the simplest way to do this? I would like to change as little as possible in my currently functioning application; ideally I would only need to change the API endpoint that it is connecting to to point to my proxy server instead of the 3rd party, and then let the proxy connect to the 3rd party.