Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

feature req: allow config.add.path to Request Transformer plugin #724

Closed
0xgeert opened this issue Nov 16, 2015 · 3 comments
Closed

feature req: allow config.add.path to Request Transformer plugin #724

0xgeert opened this issue Nov 16, 2015 · 3 comments
Labels
task/feature Requests for new features in Kong

Comments

@0xgeert
Copy link

0xgeert commented Nov 16, 2015

Similar to config.add.querystring , etc. I'd like the ability to specify a prefix-path using the Request Transformer plugin. Something like config.add.prefixPath=/api/4.0

Thoughts?

@ahmadnassri
Copy link
Contributor

@gebrits I removed my comment, after I re-read yours ... and now i'm confused that you agreed with me 😄

so to clarify:

thanks!

@0xgeert
Copy link
Author

0xgeert commented Nov 16, 2015

Ha! In all honesty I was asking to extend the upstream path with a prefix. Then I found out I could just hardcode the path in the upstream_url.

I've removed my reply above since that was indeed confusing 😄

@ahmadnassri
Copy link
Contributor

@gebrits cool, so you're good with current setup 👍

#505 adds more power to plugins, which would actually make the original point valid (to allow to modify the path prefix based on certain conditions) so i'm gonna keep this open.

@ahmadnassri ahmadnassri reopened this Nov 16, 2015
@ahmadnassri ahmadnassri added the BC label May 13, 2016
@thibaultcha thibaultcha removed the BC label Sep 1, 2016
@kikito kikito added task/feature Requests for new features in Kong and removed proposal labels Feb 8, 2021
@guanlan guanlan closed this as completed May 26, 2021
@Kong Kong locked and limited conversation to collaborators May 26, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
task/feature Requests for new features in Kong
Projects
None yet
Development

No branches or pull requests

6 participants