如何在PHP中从一个页面跟踪所有发送的请求?

时间:2017-10-05 05:04:25

标签: php post get

如何从一个URL跟踪所有已发送(POST / GET)请求?正如firefox中的Temper Data Add On一样。

例如,如果我向www.example.com发送获取/发布请求,那么我会收到www.example.com的回复。现在我如何通过www.example.com获取所有请求(POST / GET)。

希望我的问题很明确。

注意: - 我想用PHP做所有事情也可以在JavaScript上妥协

1 个答案:

答案 0 :(得分:0)

GET Request:
In GET request easy to traceable it passing into the your requesting URL such like this.

//example
https://stackoverflow.com/questions/46578191/

where the above url value /45678191 is an GET value to sent the server.

POST Request:
In go to your network page -> header ->From data it shows all post value.form that page.