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.
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.