java 如何转发请求
PHP中文网
PHP中文网 2017-04-18 10:41:11
0
2
316
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
Peter_Zhu

Request another machine? ? ? You can’t forward it!
If you forward it, it is just a request, and the displayed address bar will not change. The front end should not be able to get b.com/aaa
You should be able to get it with redirection, but the content in the request should be gone.

Ty80

Suppose the current server is A and the other server is B. Let B directly make an external interface for A to use. A then returns the B processing result to the front end,
or the front end directly requests B.
When initiating WeChat payment, you want B to initiate a prepaid order request to A and then to the front end?
If this is the case, you can directly request B from the front end. WeChat will not detect the server that initiated the prepaid order, but will only detect whether the URL of the initiating page is the WeChat payment authorized directory

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!