I need to make a post to
http://xmldata.qrz.com/xml/current/?username=xx1xxx;password=abcdef;
the result will be in xml
I need to get the Key and use it to make a different request.
I am useing HttpUtils2.
Here is the code i have started.
I am trying to figure out how to post to the url and get the key from the xml.
Thanks for your help.
http://xmldata.qrz.com/xml/current/?username=xx1xxx;password=abcdef;
the result will be in xml
B4X:
<QRZDatabase xmlns="http://xmldata.qrz.com" version="1.33">
<Session>
<Key>640ff538f6f1bd3490614f0f9c7e6e01</Key>
<Count>9387</Count>
<SubExp>Mon Nov 23 00:00:00 2015</SubExp>
<GMTime>Wed Apr 22 23:24:17 2015</GMTime>
<Remark>cpu: 0.024s</Remark>
</Session>
</QRZDatabase>
I need to get the Key and use it to make a different request.
I am useing HttpUtils2.
Here is the code i have started.
I am trying to figure out how to post to the url and get the key from the xml.
B4X:
Dim getsessionkey As HttpJob
Dim key As String
getsessionkey.Initialize("getsession","Me")
getsessionkey.PostString("http://xmldata.qrz.com/xml/current/?username=someuser;password=somepassword;agent=gdf.0","key")
'key = get key from xml response from post