Hi, Is it possible to get the XML response(i.e content other than text) in http_query function?
Thanks
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox
It will be represented as a scalar text value. There are no content-specific parsers at this time that deserialise such data into a different type of data structure (i.e. AVP tree or something).
I've thought of implementing a JSON parser on top of the http_query several times before, but this wasn't really a viable idea until the htable container came along.
sasirekha jaganathan wrote:
Hi, Is it possible to get the XML response(i.e content other than text) in http_query function?
Thanks
Cricket on your mind? Visit the ultimate cricket website. Enter now! http://in.rd.yahoo.com/tagline_cricket_1/*http://beta.cricket.yahoo.com
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
sasirekha jaganathan writes:
Is it possible to get the XML response(i.e content other than text) in http_query function?
currently the first line of response is made available in result pseudo variable. put your xml document on a single line and that should be it.
-- juha