Implement a Get Request for RESTAPI

Lavoro terminato

Tempo di esecuzione 16 giorni

Specifiche

I can't connect with API using 'application/json' header on WebRequest command. Any advices?


string headers="application/json";

string res=WebRequest("GET",url,headers,timeout,data,result,result_headers);

Print("Status code: " , res, ", error: ", GetLastError());

Print("Server response: ", CharArrayToString(result));


Errors:

2020.03.28 19:26:01.978 2020.03.26 00:01:30  EA USDCAD,H1: Server response: add headers failed [87]

2020.03.28 19:26:01.978 2020.03.26 00:01:30  EA USDCAD,H1: Status code: -1, error: 5203


Con risposta

1
Sviluppatore 1
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(337)
Progetti
624
38%
Arbitraggio
40
23% / 65%
In ritardo
93
15%
Gratuito
Pubblicati: 4 articoli, 19 codici
3
Sviluppatore 3
Valutazioni
(8)
Progetti
10
40%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(59)
Progetti
90
39%
Arbitraggio
26
4% / 77%
In ritardo
40
44%
Gratuito
5
Sviluppatore 5
Valutazioni
(4)
Progetti
5
0%
Arbitraggio
5
0% / 80%
In ritardo
2
40%
Gratuito
Ordini simili
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
BitsoFx 40 - 10000 USD
//+------------------------------------------------------------------+ //| Simple Robo Trader MT5 | //| Works on any pair & timeframe | //+------------------------------------------------------------------+ #property strict // Input settings input double LotSize = 0.01; input int FastMA = 10; input int SlowMA = 30; input int RSIPeriod = 14; input int StopLoss = 200; // in points input int TakeProfit = 400;// in
Hello great developers, I need a very fast and hardworking deliver who know both back end and front end of trade copier system. I need a web based trade copier application, i already create the website aspect, only need the copier to be included. I actually have a limited time, and no room for unprofessional developers, kindly send your applications if you can actually get it done in the space of 2 days and my budget
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","

Informazioni sul progetto

Budget
30+ USD