Giter Club home page Giter Club logo

Comments (6)

CrsiX avatar CrsiX commented on July 18, 2024

I just saw that this and this and this server implementations return plain true as well. Now I wonder: do you know who introduced this API definition? Because if all of the existing implementations use true at that endpoint, then the client should be fine with it (even though I don't really understand yet).

I guess I would therefore close the issue after clarification.

from uncivserver.xyz.

touhidurrr avatar touhidurrr commented on July 18, 2024

try replit.uncivserver.xyz to test the beta UncivServer.xyz
havenโ€™t worked on UncivServer recently so o forgot which version the repo is at.
but i remember moving beta code to replit cause it was not working as intended.

from uncivserver.xyz.

CrsiX avatar CrsiX commented on July 18, 2024

replit serves {"authVersion":1}, so I conclude it also provides authentication.

Nevertheless, do you think {"authVersion":0} would be good as return value for the normal uncivserver.xyz?

from uncivserver.xyz.

CrsiX avatar CrsiX commented on July 18, 2024

If you do so, could you please specify the Content-Type of your return to be application/json? It's text/plain at the moment.

from uncivserver.xyz.

touhidurrr avatar touhidurrr commented on July 18, 2024

Nevertheless, do you think {"authVersion":0} would be good as return value for the normal uncivserver.xyz?

Not sure what you mean by normal UncivServer.xyz. Also, why not just keep it true?

If you do so, could you please specify the Content-Type of your return to be application/json? It's text/plain at the moment.

Done for replit server.

from uncivserver.xyz.

CrsiX avatar CrsiX commented on July 18, 2024

Not sure what you mean by normal UncivServer.xyz. Also, why not just keep it true?

With "normal" I meant the one hosted at https://uncivserver.xyz.
But don't worry, I will just continue with parsing the true value, especially since the other three implementations do it the same way.

Done for replit server.

Thanks.

from uncivserver.xyz.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.