Forum Discussion
gaurachit
11 years agoChannel Surfer
Hi Joel,
Thanks for quick reply. I tried the method which you have suggested but no luck.
I am not able to get the header data means
h = msg.GetResponseHeaders()
Print h
this is returning blank.
As sdkdocs said:
GetResponseHeaders() as Object
Returns an roAssociativeArray containing all the headers returned by the server for appropriate protocols (such as HTTP).
Headers are only returned when the status code is greater than or equal to 200 and less than 300.
The response code which I am getting is "-3" and that's why I am not able to get the header data.
but when I am trying the API directly on browser its giving me the XML.
Is there any other way to work with this
Thanks for quick reply. I tried the method which you have suggested but no luck.
I am not able to get the header data means
h = msg.GetResponseHeaders()
Print h
this is returning blank.
As sdkdocs said:
GetResponseHeaders() as Object
Returns an roAssociativeArray containing all the headers returned by the server for appropriate protocols (such as HTTP).
Headers are only returned when the status code is greater than or equal to 200 and less than 300.
The response code which I am getting is "-3" and that's why I am not able to get the header data.
but when I am trying the API directly on browser its giving me the XML.
Is there any other way to work with this