1

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.

Nemi
  • 1,012
  • 10
  • 19

1 Answers1

0

If your issue is just about tracing the content of an object, you can write something like that

for(var key:String in params)
{
  trace(key, params[key]);
}
Kodiak
  • 5,978
  • 17
  • 35