简体   繁体   English

客户端标题发布请求可能吗?

[英]Client Side Header Post Request possible?

I made an http Header post request with curl, and i made it work. 我用curl发出了一个HTTP标头发布请求,并且使它工作了。 But may Problem is that the Server IP is sent. 但是可能的问题是服务器IP已发送。 And with cURL it is impossible to sent the Client ip. 并且使用cURL不可能发送客户端ip。

Is there another possibilitiy to do the request with another programming language to submit the client ip? 是否有另一种可能性可以使用另一种编程语言来提交请求以提交客户端ip?

Not completely. 不完全的。

But try adding IP headers , like HTTP_X_FORWARDED_FOR:12.12.12.12 REMOTE_ADDR:12.12.12.12 但是,请尝试添加IP标头,例如HTTP_X_FORWARDED_FOR:12.12.12.12 REMOTE_ADDR:12.12.12.12

These may work on some case. 这些可能在某些情况下有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM