ceryx icon indicating copy to clipboard operation
ceryx copied to clipboard

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

Open nikhilrayaprolu opened this issue 6 years ago • 4 comments

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?

nikhilrayaprolu avatar Oct 07 '19 09:10 nikhilrayaprolu

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

parisk avatar Oct 08 '19 15:10 parisk

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

Alevsk avatar Oct 15 '19 21:10 Alevsk

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

nikhilrayaprolu avatar Oct 16 '19 15:10 nikhilrayaprolu

maybe an update of the documentation is required for this.

nikhilrayaprolu avatar Oct 16 '19 15:10 nikhilrayaprolu