/customers/{X-Consumer-Custom-ID}/something)
/customers/123/something
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/18e5eadd-ea71-424f-beeb-a7ca9b983d3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
The request-transformer indeed does not support inserting dynamic values into parts of the upstream request at this time.
A plugin of your own could do it, but no, no plugin does this out of the box as of today.
Best,
Thibault
On 6/27/17 10:49 AM, Tomasz Rdzak wrote:
Hi all,--
I expected Request Transformer plugin to be able to modify any part of the request including the URL. I'm aware I can sent headers and query parameters, even body upstream, but it seems as if modifying the path is not supported.
I need to call upstream REST API like that:Example for for X-Consumer-Custom-ID value 123:
/customers/{X-Consumer-Custom-ID}/something)
/customers/123/something
This, to me looks like a common pattern in API with restful resources access. Does anybody know how to do it?
I can try to dive into plugin development but perhaps we have it already?
Many thanks!
P.S: Also - Is there a list of community plugins maintained somewhere?
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+unsubscribe@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/18e5eadd-ea71-424f-beeb-a7ca9b983d3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+unsubscribe@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/625dbac4-1a15-41b8-7ecd-b1c720037f77%40mashape.com.
Hi Tomasz,Is this https://github.com/Mashape/kong/issues/677 what you are seeking? If so, please click the Thumbs Up - thanks!For community plugins, there is no one central list, but searching LuaRocks for Kong is helpful https://luarocks.org/search?q=kongCheers, Cooper
On Tue, Jun 27, 2017 at 8:16 AM, Thibault Charbonnier <thib...@mashape.com> wrote:
Hi,
The request-transformer indeed does not support inserting dynamic values into parts of the upstream request at this time.
A plugin of your own could do it, but no, no plugin does this out of the box as of today.
Best,
Thibault
On 6/27/17 10:49 AM, Tomasz Rdzak wrote:
Hi all,--
I expected Request Transformer plugin to be able to modify any part of the request including the URL. I'm aware I can sent headers and query parameters, even body upstream, but it seems as if modifying the path is not supported.
I need to call upstream REST API like that:Example for for X-Consumer-Custom-ID value 123:
/customers/{X-Consumer-Custom-ID}/something)
/customers/123/something
This, to me looks like a common pattern in API with restful resources access. Does anybody know how to do it?
I can try to dive into plugin development but perhaps we have it already?
Many thanks!
P.S: Also - Is there a list of community plugins maintained somewhere?
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/18e5eadd-ea71-424f-beeb-a7ca9b983d3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.