Implement a Get Request for RESTAPI

Tâche terminée

Temps d'exécution 16 jours

Spécifications

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


Répondu

1
Développeur 1
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
2
Développeur 2
Évaluation
(337)
Projets
624
38%
Arbitrage
40
23% / 65%
En retard
93
15%
Gratuit
Publié : 4 articles, 19 codes
3
Développeur 3
Évaluation
(8)
Projets
10
40%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(59)
Projets
90
39%
Arbitrage
26
4% / 77%
En retard
40
44%
Gratuit
5
Développeur 5
Évaluation
(4)
Projets
5
0%
Arbitrage
5
0% / 80%
En retard
2
40%
Gratuit
Commandes similaires
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Informations sur le projet

Budget
30+ USD