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

Redirecting to: /api/routes when adding a new route #75

Open
nikhilrayaprolu opened this issue Oct 7, 2019 · 4 comments
Open

Redirecting to: /api/routes when adding a new route #75

nikhilrayaprolu opened this issue Oct 7, 2019 · 4 comments

Comments

@nikhilrayaprolu
Copy link

When I am trying to add a new route using the given CURL command. The route is not getting added to the ceryx and a message as Redirecting to: /api/routes is being shown, where would my installation could have gone wrong?

@parisk
Copy link
Contributor

parisk commented Oct 8, 2019

Can you provide the following to better understand what might be happening:

  • Ceryx version you are using (since 0.6.0 trailing slashes are mandatory)
  • The full command you are running

@Alevsk
Copy link

Alevsk commented Oct 15, 2019

When I am trying to add a new route using the given CURL command. The route is not getting added to the ceryx and a message as Redirecting to: /api/routes is being shown, where would my installation could have gone wrong?

I got the same error, the issue is that you need to add an / at the end of the url, ie: /api/routes/, same goes for PUT

@nikhilrayaprolu
Copy link
Author

@Alevsk Thank you for the reply, issue is with the /

@nikhilrayaprolu
Copy link
Author

maybe an update of the documentation is required for this.

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

3 participants