如何用querystring知道完整的URL? [英] How to know complete URL with querystring?

查看:111
本文介绍了如何用querystring知道完整的URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Firefox上运行一个Web应用程序。当我点击按钮时,它会重定向到某个页面并处理查询字符串。查询字符串参数隐藏在url中。



请让我知道是否有任何工具可用于识别查询字符串参数并生成完整的网址。



例如



基本网址 - http://something.com/someAction



当我点击一个按钮时,它会重定向到 http: //something.com/newAction



它隐藏了查询字符串参数。



如何能我检索整个网址为 - http://something.com/newAction? xxx = xxx& yy = yy& zz = zz


解决方案

否如果查询字符串参数是隐藏的,那么它可能是一个POST请求。 >请理解GET和POST请求的区别。



澄清: POST请求既可以包含查询字符串,也可以包含POST字段(隐藏查询你建议的字符串)


I am running a web application on firefox. When I click on the button it redirects to some page and processes query string. The query string parameters are hidden in the url.

Please let me know if there are any tools which can be used to identify the querystring parameters and to generate a complete url.

e.g.

Base URL - http://something.com/someAction

When I click on a button it redirects to "http://something.com/newAction

It hides the query string parameters.

How can I retrieve an entire url as - http://something.com/newAction?xxx=xxx&yy=yy&zz=zz

?

解决方案

No. If the query string parameters are hidden, it is probably a POST request. To make the query string visible in URL, use GET request.

Please understand the difference of GET and POST request.

Clarification: POST request can have both query string as well as POST fields ( hidden query string you suggested )

这篇关于如何用querystring知道完整的URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆