Author Topic: Unleashing a HTTP-based API for the Soldat Lobby  (Read 5846 times)

0 Members and 1 Guest are viewing this topic.

Offline surfersat

  • Major(1)
  • Posts: 17
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #20 on: March 22, 2019, 05:09:17 pm »
Excellent API!

Cannot get it work directly by CORS, i have to use a proxy to add the header 'Access-Control-Allow-Origin'.
I make a phone app to see who is playing in my server.

Attached is an app's screenshot .

Greetings!


Offline surfersat

  • Major(1)
  • Posts: 17
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #21 on: March 23, 2019, 10:32:24 am »
Hi!

New version off my phone app show all servers and their players.
Screenshot attached.

Greetings!

Offline machina

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1099
  • The world isn't nice. Why should I be...?
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #22 on: March 23, 2019, 11:55:54 am »
Hi!

New version off my phone app show all servers and their players.
Screenshot attached.

Greetings!
Dude, you know that if someone wants to use it, needs an installer file - not a screenshot xD

Offline surfersat

  • Major(1)
  • Posts: 17
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #23 on: March 23, 2019, 12:21:38 pm »
Hahaha sure!
I'm preparing the app to publish here.

Greetings!

Offline surfersat

  • Major(1)
  • Posts: 17
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #24 on: March 23, 2019, 02:23:41 pm »
Hi!

I published the servers phone app in this post: https://forums.soldat.pl/index.php?topic=45287.0

Greetings!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5012
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #25 on: March 28, 2019, 12:22:53 am »
Cannot get it work directly by CORS, i have to use a proxy to add the header 'Access-Control-Allow-Origin'.

Fixed. It now adds the appropriate header to any given origin, rather than just soldat.pl
Careful with that axe, Eugene.

Offline surfersat

  • Major(1)
  • Posts: 17
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #26 on: March 28, 2019, 10:26:54 am »
Cannot get it work directly by CORS, i have to use a proxy to add the header 'Access-Control-Allow-Origin'.

Fixed. It now adds the appropriate header to any given origin, rather than just soldat.pl

Excellent! Now is working good.

Greetings.