title: PHP - Tunneling the API
body: <p>I don't know what this method called : Reverse Proxy , Tunneling, Bypassing ?</p>
  <p>Imagine, we have 3 website :</p>
  <pre><code>http://exampleapi.com - API or Service provider
  http://example1.com - I bought the API for this Website from example.com
  http://example2.com - My New website
  </code></pre>
  <p><strong>1</strong>. I bought the API or Payment Gateway service for <strong>example1.com</strong> , the website don't have any content , forms, data. (Just to get the API)</p>
  <p><strong>2</strong>. Now, I want create tunnel between <strong>example2.com</strong> | <strong>example1.com</strong> | <strong>exampleapi.com</strong>. I mean, get all request from example2.com , send to example1.com and pass the data to exampleapi.com.</p>
  <p><strong>3</strong>. And after response, the exampleapi.com.com send data to example1.com and example2.com will receive it and showing to the user.</p>