Download MetaTrader 5
To add comments, please log in or register
Having difficulties in understanding the Trading Signals service? Read the article!
mt_develop_33x
5
mt_develop_33x 2016.06.01 15:03 


Hello,

I am using the function res = WebRequest("POST",url,cookie,NULL,timeout,post,length,result,headers); to submit a web request via post. Is it possible to deactivate the URL decode within the given Text? I do have two problems right now:


1.) I am trying to submit a POST array wherein a Base64 encoded image shall be submitted (all „+“ are converted to „ " (spaces)). 

2.) Also I am trying to submit a POST array wherein different texts are given, some of them might contain for instance + signs. Also here the + will be converted to a space.


Thank you very much for answer.

Fernando Carreiro
1437
Fernando Carreiro 2016.06.01 15:29  

Use the 2nd version of the function with an out-of-body POST request, as demonstrated in the 2nd example of the documentation:

/
To add comments, please log in or register