Ask coding questions

← Back to all posts
Fetch is not working
kevinvictorin (1)

The fetch method doesn't return the response and log to the console. The url works correctly.

amasad (3537)

@kevinvictorin it looks like a CORS issue. See this for adding CORS support to your server:

Also make sure to use https instead of http because if the site is served from https origin it won't let you load from http. See