HTTP requests for new MQL4 (tested in build 600)

0
(0)
Identify:
HTTP requests for brand spanking new MQL4 (examined in construct 600)
Writer: lukins (2014.02.12 15:forty four)
Downloaded: 1
Obtain:
mq4-http.mqh (2.7 Kb) View
Description:

This can be a easy MQL4 wrapper that makes use of Home windows native wininet.dll. It permits you to ship HTTP requests (at present supported solely GET technique) to a distant vacation spot and skim the physique response from MQL that was compiled in construct 600 and newer (not in a strict mode).

For up to date model, points tracker and contribution please seek advice from undertaking's Github repository.

HTTP requests for new MQL4 (tested in build 600) 2

Instance:

#embrace <mql4-mysql.mqh>

int begin () 

  string myIP = httpGET("http://icanhazip.com/");

  Print("My machine's IP is ", myIP);

  return(0);

Supply:

Supply is distributed at Github repository. Any contribution is very appreciated.

Credit:

This library was based mostly on following nice assets:

- HTTP Wininet pattern: http://codebase.mql4.com/8115

- EasyXML parser: http://www.mql5.com/en/code/1998

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.