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

Changing name of endpoint #1

Open
rahulmutt opened this issue Jan 28, 2018 · 1 comment
Open

Changing name of endpoint #1

rahulmutt opened this issue Jan 28, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@rahulmutt
Copy link
Member

rahulmutt commented Jan 28, 2018

If we change "fibonacci" below to any string containing 3 letters (such as "fib"), you get 404 when accessing the endpoint. It works for strings of other sizes (1,2,4, etc.).

type API = "fibonacci" :> Capture "n" Int :> Get '[JSON] Value
@jneira
Copy link
Contributor

jneira commented Feb 14, 2018

Tested after typelead/eta#654: it prints the correct output with /fib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants