Page 1 of 1

[Sanqui] Unable to use API using Web App

Posted: Mon Jul 09, 2018 3:35 pm
by Rapt0r22
Hello.
Currently i'm working on Web Application that uses Factorio API.
I noticed that none of the resources (links) listed on the pages below has a proper header ("Access-Control-Allow-Origin: *") that will allow you to use the CORS mechanism.

https://wiki.factorio.com/Web_authentication_API
https://wiki.factorio.com/Matchmaking_API
https://wiki.factorio.com/Download_API

Image
Image

Re: [Sanqui] Unable to use API using Web App

Posted: Mon Apr 29, 2019 1:01 pm
by Sanqui
This is not a bug. The API is intended for use by local scripts and programs, not other websites.