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

Error when mapping endpoints to urls #10

Open
anihojnadel opened this issue Aug 31, 2016 · 1 comment
Open

Error when mapping endpoints to urls #10

anihojnadel opened this issue Aug 31, 2016 · 1 comment

Comments

@anihojnadel
Copy link

If you have a controller with /orders endpoint. Then if you want to create an action of a POST in /orders you annotate the method with @K.Post("").

This works only if the url is: http://localhost:3000/orders/. If you remove the last "/" doesn't work.

Returns:
302
Found. Redirecting to /orders/

@anihojnadel
Copy link
Author

@zlash please review.

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