Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

"Access-Control-Allow-Origin" header for itch.io API requests through AJAX

A topic by Orion Studios Interactive created Aug 12, 2021 Views: 298
Viewing posts 1 to 1

I wasn't sure what else to mark it as, so I put this as a bug

In its current state, the itch.io API isn't very accessible or feasible for almost any games at all, due to one simple reason: Ajax requests to https://itch.io are blocked, as it does not have an Access-Control-Allow-Origin header. As such, games and apps that wish to use the itch.io API are prevented from doing so, as accessing (and consequently sending) data is not permitted by itch.io API's setup