将参数作为对象添加到flex httpservice后如何跟踪完整的URL?
我想跟踪 URL 在使用参数发送时的外观,如下例所示:
http.url="func.php";
var params:Object = { abc: "123", def: "456" };
http.send(params);
trace(http.url); // traces only "func.php"
trace("params ",params); // traces params [object Object]
我想跟踪此内容:
func.php?abc=123&def=456
如何使用发送的添加参数跟踪完整的 URL?
另外,我使用了 Charles 调试代理,但无法获取发送的 URL。
I want to trace how URL looks when it is sent like in following example when using params:
http.url="func.php";
var params:Object = { abc: "123", def: "456" };
http.send(params);
trace(http.url); // traces only "func.php"
trace("params ",params); // traces params [object Object]
I want to get this traced:
func.php?abc=123&def=456
How to trace complete URL with added parameters that is sent?
Also, I used Charles debug proxy, but could not get which URL was sent.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的问题只是关于跟踪对象的内容,您可以编写类似的内容
If your issue is just about tracing the content of an object, you can write something like that