Skip to content
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

Support for query string #45

Open
ELC opened this issue Apr 28, 2018 · 7 comments · May be fixed by #630
Open

Support for query string #45

ELC opened this issue Apr 28, 2018 · 7 comments · May be fixed by #630
Labels
enhancement New feature or request

Comments

@ELC
Copy link

ELC commented Apr 28, 2018

It would be nice if one could use kutt.it to shorten an API and pass parameters as query string

Example:

API url: https://wt-5fc6cb60e41eaeeb967dd305f92ba74a-0.sandbox.auth0-extend.com/hello
Shorten: https://kutt.it/elc-webtask-tutorial

Call API with parameters: https://wt-5fc6cb60e41eaeeb967dd305f92ba74a-0.sandbox.auth0-extend.com/hello?name=John
Desired: https://kutt.it/elc-webtask-tutorial?name=John

@trgwii
Copy link
Member

trgwii commented May 2, 2018

This sounds doable, we're not currently using query parameters for anything, but maybe as an option during link creation in case we decide we need query parameters in the future?

@ELC
Copy link
Author

ELC commented May 2, 2018

It could be something like a checkbox with "Is this a link to an API?" If so all the query parameters in the shorten link will be passed to the original link. Security issues should be taken into consideration by the API developers and not by Kutt.it

An even more complete solution would be to, instead of redirect, send the same request object to the original URL, this would enable redirecting POST, PUT and DELETE, so one can have a FullRest with kutt.it.

@trgwii
Copy link
Member

trgwii commented May 24, 2018

An even more complete solution would be to, instead of redirect, send the same request object to the original URL, this would enable redirecting POST, PUT and DELETE, so one can have a FullRest with kutt.it.

We don't want to be a full on proxy, so that won't happen

@poeti8 poeti8 added the enhancement New feature or request label Jun 13, 2018
@ThreeDeeJay
Copy link

This sounds like a great idea. Any updates/consideration on the implementation?

@abett
Copy link

abett commented Oct 28, 2021

also very interested in this feature.

can you point me towards where we could add such a functionality in the code? (and also at concerns that kept you from implementing, if there are any)
I'd be happy to contribute to a solution that allows passing through the path / url-params.

mariodian added a commit to mariodian/kutt that referenced this issue Oct 4, 2022
@mariodian
Copy link

@ELC Please let me know whether the above change works for you. If so, I'll create a PR.

@ELC
Copy link
Author

ELC commented Oct 4, 2022

Seems like that will do

@mariodian mariodian linked a pull request Oct 4, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants