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

0 Members and 1 Guest are viewing this topic.

Offline surfersat

  • Major(1)
  • Posts: 19
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: 19
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: 1101
  • 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: 19
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: 19
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: 5017
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: 19
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.

Offline surfersat

  • Major(1)
  • Posts: 19
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #27 on: July 03, 2019, 03:23:24 pm »
Hi!

The endpoint "/players" in the api is throwing an 403 Forbidden error.
A GET screenshot is attached.

Thank you!

Greetings.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1905
    • TransHuman Design
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #28 on: July 05, 2019, 05:30:49 am »
We are aware of the situation.
Why do you need access to that endpoint?
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline surfersat

  • Major(1)
  • Posts: 19
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #29 on: July 05, 2019, 09:26:39 am »
Hello!

Please i need that endpoint because my soldat servers mobile app uses it to show the players on the servers and their users report me it stop working.

Here is the forum post of the app:

https://forums.soldat.pl/index.php?topic=45287.msg532145#msg532145

And here is the app published in Google Play:

https://play.google.com/store/apps/details?id=soldat.servers.app

Thank you in advance!

Greetings.

Offline Moroes

  • Soldier
  • **
  • Posts: 165
    • Soldat-Game.eu
Re: Unleashing a HTTP-based API for the Soldat Lobby
« Reply #30 on: July 09, 2019, 03:03:39 pm »
I need access to that endpoint for my spying activities, thanks. :)