Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Custom routes and actions #77

Open
lucianholt97 opened this issue Sep 8, 2020 · 0 comments
Open

[Question] Custom routes and actions #77

lucianholt97 opened this issue Sep 8, 2020 · 0 comments

Comments

@lucianholt97
Copy link

I was wondering how to implement fetching the currently active user.
Normally, I would just call /api/v1/user. How can I achieve this behaviour with spraypaint?

Besides, a related question is concerning actions (which are indicated in the route). For example I would like a post by performing a get request to /api/v1/posts/1/like. Is there a possibility to add something to the route in a find request?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant