Intercept php backend request API

  1. can intercept requests from system agents through charles. For example, I access an aa.php file, which is an aa.php file I can intercept. But how to intercept requests sent through the backend in aa.php?
  2. currently I am displaying it on the page through echo, but this is too troublesome. Is there any good way to do it?
Mar.06,2021

aa.php back-end request, if it is a http request, you can use curl to set the proxy server as your charles. Take a look at the configuration item CURLOPT_PROXY.

Menu