Comments (8)
check routes pls, u missed part of url /api/v1/auth/login
from tc-json-api.
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.
@Helias :(, you dont support anymore trinitycore?
from tc-json-api.
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.
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.
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.
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
from tc-json-api.
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)
- Readme unclear HOT 1
- maintainability HOT 14
- Error php HOT 7
- How to show debug info? HOT 2
- ERROR: API not found HOT 21
- TC-JSON-API AzerothCore support
- Mutli realms
- JWTAuth not found HOT 1
- Whoops! Something went wrong! (WelcomeController) HOT 1
- ERROR: API not found, please edit your config.js file and set the path of your TrinityCore JSON API istance. HOT 2
- Write data? HOT 1
- Error when viewing. HOT 5
- Error when Install TC-JSON-API HOT 2
- Add Access control HOT 6
- passport? HOT 3
- 404 not found HOT 1
- quest_template struct has been changed HOT 1
- Error accessing HOT 12
- Error while processing compiled.php HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tc-json-api.