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
Whenever I try to make a post request using fetch, the Failed to Fetch error is returned. However, if I call wikipedia it goes through.
I have tried this with so many other websites e.g http://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL
Like the title above says, Is there a way for custom blocks to communicate with each other? For example passing data from one custom block to another which is installed by the user
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 => consol...