How to send a POST with a JSON in a WebRequest() call using MQL4?

前端 未结 4 1302
旧时难觅i
旧时难觅i 2020-12-16 23:52

I would like to send a POST from MQL4-script, using a JSON-format to a Node-server.

I\'ve tried the webReque

4条回答
  •  感动是毒
    2020-12-17 00:30

    Have you tried setting the headers like this:

    headers = "Content-Type: application/json\r\n";
    

    ?

提交回复
热议问题