Problems with post method for http request
-
@FXDREEMA I am having a hard time sending data from my EA to my external server.
I am using the post method in the "Send http request" block
I already added my server's url in metatrader version 4 and version 5.
I've already managed to send the data in the GET method using the delimiters.
But the post is not sending any information.
The print below shows the form I am trying to send.
I put the server name in the URL field
I selected "post" mode
I left as an option to display a text box. This happens when the changes I make to trading happen.
In key-value pair 1 I put "active" which corresponds to the name of the field that will receive the information on my server.
And I selected Market properties, Name symbol Market as information to display on my system.
Anyway, absolutely no information arrives, I've tried instead of sending Market name, entry price, account number and lots of information but it doesn't work.
Do you have any information to help me?
-
@fabiobioware Both blocks are on the 'on trade' tab. This means they will not be executed until a trade is open. I see no blocks on the 'on tick' tab so I guess all trades are manually opened. Am I right? If not the EA will never work.
-
@l-andorrà Yes, all negotiations are opened manually, in my idea they could also be opened automatically.
The problem that is happening is that everything I'm trying to do on the "on trade" tab never works.