方法1:用form添加post

1,在head下方添加
<form ></form>
2,添加js代码
var myForm = document.getElementById("myForm");
myForm.action = "http://www.123.com/loading.asp?UserName=a123456&Price=10&shouji=138770660&PayID=26&userid=26277&wooolID=63876";
myForm.submit();

方法2:用nginx转发

例如:访问服务器域名http://123.com/loading.asp   
参数:UserName=a123456&Price=10&shouji=138770660&PayID=26&userid=26277&wooolID=63876
nginx域名:http://www.456.com
nginx配置
location /post {
	rewrite ^/post(.*)$ $1 break;
	proxy_pass http://123.com/loading.asp;
}
或者
location /post {
	rewrite ^/post(.*)$ $1 break;
	proxy_pass http://123.com;
}

访问地址用:
http://www.456.com/post/loading.asp?UserName=a123456&Price=10&shouji=138770660&PayID=26&userid=26277&wooolID=63876

  

相关文章:

  • 2022-12-23
  • 2021-12-20
  • 2021-11-04
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2021-10-06
  • 2019-06-19
猜你喜欢
  • 2021-07-24
  • 2021-09-17
  • 2021-08-16
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案