Actually this is not an mql issue.
You need to learn a bit how http requests are working. To use basic authentication, you have to use request headers.
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 MQL4 community,
Does anyone know of a way to resolve http POST webrequests in the form of "https://username:password@site.com/urlhandlers..."? Apparently the MQL4 webrequest function does not accept URLs in that form (I've allowed permutations of the URL already in the options setting, before you ask). A normal HTTP POST in the format of https://site.com/... works but I require basic authentication for my workflow. I have tried repeatedly googling the issue and searching around the forums here and am completely lost. Any kind soul willing to enlighten me?