Actually, both in GET and POST requests everything is passed in the form: id=value, i.e. parameter name and value through equal sign. In addition, all characters that are not Latin letters and numbers are coded with % (character code).
There's something wrong there, I'm trying to figure it out, but it doesn't work:
if (!HttpSendRequestA(hReq, NULL, 0, request, len))
{
return (false);
}
I looked at the article, it sends something like: server=Metaquotes&pair=EURUSD&bid=1.4512&time=13286794
I need to send it in json format. As far as I understood all the same but instead of red string it is this with its own parameters: {"Login":"","Wmid":"","Culture":"","Signature":""}
If sending would go, at least I would get a message that request is invalid, but instead I get silence.
I looked at the article, it sends something like: server=Metaquotes&pair=EURUSD&bid=1.4512&time=13286794
I need to send it in json format. As far as I understood all the same but instead of red string it is this with its own parameters: {"Login":"","Wmid":"","Culture":"","Signature":""}
well, yeah. i hope you do not confuse the sending method (POST) and its data format (json in your case).
If sending would go, at least I would get a shibboleth that the request is not correct, but in place of this silence.
Sasha, put yourself some kind of Charles, why do you suffer so much :)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Actually, both in GET and POST requests everything is passed in the form: id=value, i.e. parameter name and value through equal sign. In addition, all characters that are not Latin letters and numbers are coded with % (character code).
There's something wrong there, I'm trying to figure it out, but it doesn't work:
I am probably boring the topicstatter with my researches, if you tell me, I will go to a monastery
ZS: Eventually, the code will work on bits
Are you asking me?
See example: https://www.mql5.com/ru/articles/276
even that doesn't work:
See example: https://www.mql5.com/ru/articles/276
I don't think json will work here either.
ran it with default parameters, it doesn't work, error on post function
and it seems to me that the problem is with this function, judging by the comments , I'm not the only one who can't get it to work
https://www.mql5.com/ru/articles/276
I looked at the article, it sends something like: server=Metaquotes&pair=EURUSD&bid=1.4512&time=13286794
I need to send it in json format. As far as I understood all the same but instead of red string it is this with its own parameters: {"Login":"","Wmid":"","Culture":"","Signature":""}
If sending would go, at least I would get a message that request is invalid, but instead I get silence.
I looked at the article, it sends something like: server=Metaquotes&pair=EURUSD&bid=1.4512&time=13286794
I need to send it in json format. As far as I understood all the same but instead of red string it is this with its own parameters: {"Login":"","Wmid":"","Culture":"","Signature":""}
well, yeah. i hope you do not confuse the sending method (POST) and its data format (json in your case).
If sending would go, at least I would get a shibboleth that the request is not correct, but in place of this silence.
Sasha, put yourself some kind of Charles, why do you suffer so much :)