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
Hi all ,
I hope you re all fine.
I ve already used the native webrequest function to POST data.
Usually I post data using these lines below
**********
char dataUpdatePost[];
char dataUpdateResult[];
string dataUpdateStr = "dataUpdateFlag=YES&orderNumber=" + orderNumber + "&profit=" + profit + "&profitPips=" + profitPips + "&cookie=" + sessionID;
ArrayResize(dataUpdatePost, StringToCharArray(dat[0,1], dataUpdatePost, 0, WHOLE_ARRAY, CP_UTF8) - 1);
ResetLastError();
int updateDataRes = WebRequest("POST", "http://service.jumpinvestor.com/", "", NULL, 1, dataUpdatePost, 0, dataUpdateResult, dataUpdateHeaders);
**********
and it works fine ...
but this I would like to send an array like with some data inside that I will collect with a php webservice.
string dat[3][10];
Is there a way in MQL4 to send it via webrequest?
Thank you in advance.
Nadir