Download MetaTrader 5

problem with Base64 - WebRequest

To add comments, please log in or register
mt_develop_33x
5
mt_develop_33x  


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
2202
Fernando Carreiro  

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