Forum Discussion

samithak's avatar
samithak
New Contributor
10 years ago

I'm trying to access HTTP header information when website POST or GET.Request send in JSON format.

Hi All,

I'm trying to access HTTP header information when website do a POST or GET.Request send in JSON format. on POST request I can see all required information under Network-->Headers-->Request Payload (using chrome dev tool) but I canno't figure it out how to read these information using Testcomplete (use TC 11.1).

I tried with following way but was not success.
var page = Sys.Browser("Chrome").Page(baseurl & format=json");
var http1 = page.contentDocument

 

Information what I need to read highlighted in attached screen.


Please let me know if you have any solution. Thanks in advance.

 

Thanks

-Sam