How to use your api key
Keep your api key private.
As credential on platforms
Set the api key as credential in the platform.
As Header Parameter
Add the api key as header to the api call. Use the header key: "X-API-KEY" - uppercase.
request(app.getHttpServer()) .post(`/GROUP/FX`) .set("X-API-KEY", TESTAPIKEY) .send(body);
As Query Parameter
Add the api key as header to the url as query parameter. Use the query parameter key: "X-API-KEY" - uppercase.
https://api.1001fx.com/GROUP/FX?X-API-KEY=YOURSECRETKY