Git Product home page Git Product logo

Comments (8)

avengerweb avatar avengerweb commented on July 30, 2024 1

check routes pls, u missed part of url /api/v1/auth/login

from tc-json-api.

Helias avatar Helias commented on July 30, 2024

Login and register is already implemented as you can see here 3efa4e2, but they aren't documented in the wiki.

Anyway we are planning to migrate the TC-JSON-API into this new API written in Symfony https://github.com/azerothcore/apaw

from tc-json-api.

azanoni avatar azanoni commented on July 30, 2024

@Helias :(, you dont support anymore trinitycore?

from tc-json-api.

Helias avatar Helias commented on July 30, 2024

Of course we will support it, we will support the platforms trinitycore and azerothcore, azerothcore has the database structure similar to trinitycore

from tc-json-api.

azanoni avatar azanoni commented on July 30, 2024

Thanks, only for clarify, TC-JSON-API will be support TrinityCore and "Apaw" will be support Azerothcore rigth?
And you can explain how to use login/register method? because I try to access to:
http://localhost/TC-JSON-API/public/auth/login or
http://localhost/TC-JSON-API/public/auth/register

and this is the message: "Sorry, the page you are looking for could not be found."
If this have a forum or another place to ask help please tellme.
Thanks for your support

from tc-json-api.

Helias avatar Helias commented on July 30, 2024

Did you follow this new guide to install the TC-JSON-API?
https://github.com/ShinDarth/TC-JSON-API/blob/master/INSTALL.md

Only the development version supports the authentication so you need to install the latest version from sources. Anyway you can't just go to the path TC-JSON-API/public/auth/login you need to do a POST request with username and password as params, you can use the app POSTMAN to test that.

from tc-json-api.

azanoni avatar azanoni commented on July 30, 2024

Yes the API-REST works but not this 2 new methods: I tested using RESTClient in Firefox, try to use the both ways, json request and parameter request like http://localhost/TC-JSON-API/public/auth/login/?username=test&password=test
imagen

from tc-json-api.

azanoni avatar azanoni commented on July 30, 2024

Thanks!, anyone should be update the readme.md, here is the corrects urls:
For login:
http://localhost/TC-JSON-API/public/api/v1/auth/login/?username=test123&password=testtest123
For register:
http://localhost/TC-JSON-API/public/api/v1/auth/register/?username=test123&password=test123&[email protected]

from tc-json-api.

Related Issues (20)

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.