brizzonator Posted September 5, 2008 Share Posted September 5, 2008 I have a hardware device that functions somewhat like a webserver. I need to send a POST request to it containing some XML information. I figured out how to make what I am trying to happen happen by using Autoit to create an html file the user has to doubleclick on in a secondary location, I was just wondering if there was any way with Autoit to directly send a POST request. I can't find a command doing so, but was wondering if there is a backdoor way to do it. Thanks, Brizz Link to comment Share on other sites More sharing options...
DjDeep00 Posted September 5, 2008 Share Posted September 5, 2008 (edited) @brizzonator...This is how I post XMLs... $raw_data='Read in some file' $IP='Some IP address' $xml = ObjCreate("Microsoft.XMLHTTP") $xml.Open("POST", $IP, False) $xml.setRequestHeader("Content-Type", "text/xml") $xml.Send($raw_data) Msgbox(4096,"",$xml.responseText) Edited September 5, 2008 by DjDeep00 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now