Of course it's possible with WinAPI. Just do some researches (Codebase).
Tinashe Chipomho:
Basically you can send asynchronous http(s) request with a help of wininet, but you cannot use the callback function. Instead you have to check the return codes of the request periodically to detect if the response arrived (HttpQueryInfoW).
I would like to make some HTTP from an EA or even an indicator, the challenge is I want it to be asynchronous, the new WebRequest function is good but it is not asychronous and cannot be called from an indicator.
Is there a way to do this even using the Windows API, i just want to send a request don't wait for the response, and even if it comes don't care about it.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I would like to make some HTTP from an EA or even an indicator, the challenge is I want it to be asynchronous, the new WebRequest function is good but it is not asychronous and cannot be called from an indicator.
Is there a way to do this even using the Windows API, i just want to send a request don't wait for the response, and even if it comes don't care about it.