KristianS93 / CommandCentral_API

API for the CommandCentral App
MIT License
0 stars 0 forks source link

Routing changes #46

Closed KristianS93 closed 1 year ago

KristianS93 commented 1 year ago

When creating the App and using the API, it has become clear that since the grocerylist id and household id i present in the jwt token, some routing is pointless and should be changed, to emphasise the the use of the token, as the url will be somewhat static, as the app, does not know the id og household or grocerylist since it is in the token.

So either send the household id and grocerylist id with a json object with the token, or just use the token.