dfranklin72
29th June 2009 15:20 UTC
html post using inetc
Im using web services to capture data from my installer. what would be the best way to post data eg
POST /WebServices/ShoppingService.asmx/GetEntyInfo HTTP/1.1
Host: localhost
Content-Type: application/x-www-form-urlencoded
Content-Length: length
entyid=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>
thx
Afrow UK
29th June 2009 19:09 UTC
I don't get what your problem is. Have you looked at the inetc documentation?
Stu
dfranklin72
30th June 2009 10:11 UTC
Yes I have but cant seem to get it working. I have no problems using a VBscript. works like a dream but i would like to use the installer for this funcrionality. I just get the connecting popup or URL parts error but not the responce im expecting.
Afrow UK
30th June 2009 10:31 UTC
Post your code.
Stu
dfranklin72
30th June 2009 11:27 UTC
Just got it working. I had to creatt eh output file. Is there a way to pop to the stack?
Afrow UK
30th June 2009 13:23 UTC
If the plugin does not provide the functionality just output to the file and then read it with the FileOpen, FileRead and FileClose functions.
Stu