Hello fellow humans,
I am trying to get JSON data from this API:
https://fortniteapi.io/
It worked via my browser. There I had to add a modheader extension to the browser and fill in the Authorization code I got via the fortnite api.
I am very new to requesting this kind of info but would appreciate it if someone could help me with this.
for this project I am using a ESP8622.
I did a test with a test API here:
http.begin("http://jsonplaceholder.typicode.com/users/1");
int httpCode = http.GET();
and that worked.
The fortnite api is in a https environment and I'm rather stuck how to fix this.
if someone has a clue how to add the authorization code to the sketch that would really help me out.