Does the custom block API allow us to call POST/GET requests to external services such as one’s own AWS EC2? It seems that I can only call Wikipedia and other services fail
Solved
Hey guys I need your help
Best answer by Ashwin_P
Niza_Siwale wrote:
As even the calls to openweather fail. I’m trying to connect to my AWS EC2 instance
const weatherURL =
http://api.openweathermap.org/data/2.5/forecast?zip=11102&units=imperial&APPID=key
fetch(weatherURL)
.then(res => res.json())
.then(data => console.log(“Data List Loaded”, data.list))
The URL has to start with https
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.