Tyk REST Api 301 problem

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:09:13 +0000.
Sender:Marcelo.
Date:Thursday, 9 April 2015 19:33:39 UTC+1.

Hi everyone,

I just start a new Tyk environment and I’m trying to use Tyk REST API, but I’m always getting “301 Moved Permanently” for all methods. Everything is working well, Api Gateway, Dashboard and Nginx, except the REST API. Could anyone help me?

Thanks in advance!

Imported Google Group message.
Sender:Martin Buhr.
Date:Thursday, 9 April 2015 19:38:25 UTC+1.

Hi Marcelo,

it could be something as simple as having a trailing slash at the end of the URL that you are using?

Can you send an example request and response?

Thanks,
Martin

Imported Google Group message.
Sender:Marcelo.
Date:Thursday, 9 April 2015 19:38:25 UTC+1.

Hi Marcelo,

it could be something as simple as having a trailing slash at the end of the URL that you are using?

Can you send an example request and response?

Thanks,
Martin

Imported Google Group message.
Sender:Martin Buhr.
Date:Thursday, 9 April 2015 19:58:05 UTC+1.

That was it, a simple trailing slash at the end of the URL!! This is in the docs, however, I didn’t realize. Thank you so much!

  • show quoted text -