I am not the best with webservices......let me just preface this question with that.
Anyways, I am attempting to write something that will contact a vendor's server and I have been reading their documentation.
They say that I need to submit a HTTP POST request, but I must also submit some configurations via an HTTP GET also.
I am confused when they say this as I didn't think that these could technically be done at the same time.
Essentially, I need to supply my required XML for the Post. :
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<!DOCTYPE VendorZ>
<VendorZ Service='Info::Customers'>
<Addr>
<City>toronto</City>
<Country>ca</Country>
<Region>on</Region>
<Street>133 king st east</Street>
</Addr>
</VendorZ>
But then my url and password settings via a url in an http get. :
http://service.megaupload.com/mega/?Config=pwConfigSettings
I have reviewed a couple links on this website. :
https://stackoverflow.com/questions/92522/http-get-in-vb-net
and
HttpWebRequest with POST and GET at the same time
But I am still fairly confused about how to go about doing this.
I know this isn't really that difficult, but hoping someone can shine some light on this. As I said I have read quite a few posts across the net, but it just isn't clicking for me today.
Any advice/direction is greatly appreciated.
Thanks.