Resolving http POST webrequests of

 

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?

 

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.