Pagination links

Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/JfJqnJAKE4c Import Date: 2016-01-19 21:08:05 +0000.
Sender:Tor Inge Skaar.
Date:Wednesday, 18 March 2015 12:35:08 UTC.

Hi.

I have an end-point API returning pagination links within the reponse json, and these links contain the domain/ip of the end-point API. Using Tyk API gateway, is there a way to rewrite these urls, so that the point to the Tyk gateway instead of directly to the end-point?

Thanks.

Tor Inge Skaar

Imported Google Group message.
Sender:Martin Buhr.
Date:Wednesday, 18 March 2015 12:54:11 UTC.

Hi Tor,

Interesting, currently there is only template transforms on inbound requests, not upstream replies.

You could raise a support request in our GitHub repo for a new inbound middleware - it’s an area we haven’t considered yet, so would be a worthy enhancement :slight_smile:

Sorry I can’t be of more help,

Cheers,
Martin

Imported Google Group message.
Sender:Tor Inge Skaar.
Date:Wednesday, 18 March 2015 13:45:59 UTC.

Thanks for the quick response! I’ve added this as a feature request at https://github.com/lonelycode/tyk/issues/50

  • Tor

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to a topic in the Google Groups “Tyk Community Support” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tyk-community-support/JfJqnJAKE4c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/22d5554f-68b1-4be0-9256-1b9ca389f4dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.