[Sanqui] Unable to use API using Web App

Things that we don't consider worth fixing at this moment.
Rapt0r22
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Feb 03, 2017 7:03 pm
Contact:

[Sanqui] Unable to use API using Web App

Post 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
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 332
Joined: Mon May 07, 2018 7:22 pm
Contact:

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

Post by Sanqui »

This is not a bug. The API is intended for use by local scripts and programs, not other websites.
ovo
Post Reply

Return to “Won't fix.”