Description:
This is a simple MQL4 wrapper that uses Windows native wininet.dll. It allows you to send HTTP requests (currently supported only GET method) to a remote destination and read the body response from MQL that was compiled in build 600 and newer (not in a strict mode).
For latest version, issues tracker and contribution please refer to project’s Github repository.
Example:
#include <mql4-mysql.mqh> int start () { Â Â string myIP = httpGET("http://icanhazip.com/"); Â Â Print("My machine's IP is ", myIP); Â Â return(0); }
Source:
Source is distributed at Github repository. Any contribution is highly appreciated.
Credits:
This library was based on following great resources:
– HTTP Wininet sample:
– EasyXML parser: