WebRequest' - no one of the overloads can be applied to the function call - Can anyone help me fix it?
Your code (8 parameters)...
int res = WebRequest("GET", url, NULL, 0, NULL, 0, result, timeout);
Required format (7 parameters)...
int WebRequest( const string method, // HTTP method const string url, // URL const string headers, // headers int timeout, // timeout const char &data[], // the array of the HTTP message body char &result[], // an array containing server response data string &result_headers // headers of server response );
Can you spot what's wrong?
When in doubt, consult the documentation first before posting. Just press F1 after clicking on the function name in MetaEditor.

WebRequest - Common Functions - MQL4 Reference
- docs.mql4.com
WebRequest - Common Functions - MQL4 Reference
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hello master, i got a bug error when creating an custom indicator with telegram notification, with the description ''WebRequest' - no one of the overloads can be applied to the function call", can anyone fix it? i would be very grateful :)