Jump to content
Sign in to follow this  

Anyway to send a POST request with Autoit?

Recommended Posts


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.



Share this post

Link to post
Share on other sites

@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")


Edited by DjDeep00

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.