Sign in to follow this  
Followers 0
John117

convert code to autoit script

10 posts in this topic

Hey guys, I am looking for the cleanest, shortest, way to produce the same results as this webpage. I would like to avoid webpage attaches as speed is the key. Any help would be greatly appreciated!!! Thanks.

The test on the page is what I am looking to build. I dont need input boxes, just a string that is sent and something like a msgbox to show the return.

Anyone showing me where to begin, I am not helpless and am willing to work toward it, just need a starting point! Thanks!

http://api.efxnow.com/DEMOWebServices2.8/S...RatesServerAuth

Share this post


Link to post
Share on other sites



Since we don't have the code available for the webpage, we can't very well translate it.

Share this post


Link to post
Share on other sites

Since we don't have the code available for the webpage, we can't very well translate it.

say waaaa???

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /DEMOWebServices2.8/Service.asmx/GetRatesServerAuth?UserID=string&PWD=string&Brand=string HTTP/1.1

Host: api.efxnow.com

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<string xmlns="https://api.efxnow.com/webservices2.3">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /DEMOWebServices2.8/Service.asmx/GetRatesServerAuth HTTP/1.1

Host: api.efxnow.com

Content-Type: application/x-www-form-urlencoded

Content-Length: length

UserID=string&PWD=string&Brand=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="https://api.efxnow.com/webservices2.3">string</string>

Share this post


Link to post
Share on other sites

It's a dynamic page. Some of it is being generated server side. That's how the GET things work.

I'm really not sure what you're asking. Sorry.

Share this post


Link to post
Share on other sites

Im just looking for a way to get the return without going to the website. I will need the info for an autoit based gui to act on

Share this post


Link to post
Share on other sites

Im just looking for a way to get the return without going to the website. I will need the info for an autoit based gui to act on

Hi. Don't understand completely, what you want, but hope this links be useful for you :)

WinINet

HTTP UDF's

Share this post


Link to post
Share on other sites

Hi. Don't understand completely, what you want, but hope this links be useful for you :)

WinINet

HTTP UDF's

Hey -looks like those will help out a lot! Thanks for the help!

Share this post


Link to post
Share on other sites

Ok, I understand even less now. You said you wanted to not use the website, but here you are downloading data from it. I have no idea what you are doing here but I hope you can figure it out.

Share this post


Link to post
Share on other sites

What I understood is he wants to retrieve data from the website without using a web a web browser, using AutoIt instead, I'm sure it can be done with inetget o something...


s!mpL3 LAN Messenger

Current version 2.9.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites

InetGet can't use POST, but GET should work just fine.

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  
Followers 0