[GH-ISSUE #398] Custom request method #148

Closed
opened 2026-03-16 13:42:55 +03:00 by kerem · 5 comments
Owner

Originally created by @JanoschDeurer on GitHub (Dec 4, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/398

Originally assigned to: @JanoschDeurer, @liyasthomas on GitHub.

Is your feature request related to a problem? Please describe.
Some APIs use custom request methods. For example the API of vault uses LIST do deliver secrets:
https://www.vaultproject.io/api/secret/kv/kv-v2.html#list-secrets

Describe the solution you'd like
It would be great to have a custom option that opens a text field where one can put in strings that describe the method.

Another solution is to just replace the dropdown with a text field.

Describe alternatives you've considered
I think for such APIs the only alternative is to use a different tool, but I really like postwoman :)

Originally created by @JanoschDeurer on GitHub (Dec 4, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/398 Originally assigned to: @JanoschDeurer, @liyasthomas on GitHub. **Is your feature request related to a problem? Please describe.** Some APIs use custom request methods. For example the API of vault uses `LIST` do deliver secrets: https://www.vaultproject.io/api/secret/kv/kv-v2.html#list-secrets **Describe the solution you'd like** It would be great to have a custom option that opens a text field where one can put in strings that describe the method. Another solution is to just replace the dropdown with a text field. **Describe alternatives you've considered** I think for such APIs the only alternative is to use a different tool, but I really like postwoman :)
kerem 2026-03-16 13:42:55 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Dec 4, 2019):

Will try to implement them.

<!-- gh-comment-id:561655466 --> @liyasthomas commented on GitHub (Dec 4, 2019): Will try to implement them.
Author
Owner

@liyasthomas commented on GitHub (Dec 4, 2019):

method list have been adapted from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods and since LIST is not an officially safe method, we can't list that in our default set of methods. But we've implemented an <input> box instead of <select> options, this allows user to type in any custom method they want. These custom methods could be used in endpoints that support those methods.

<!-- gh-comment-id:561678010 --> @liyasthomas commented on GitHub (Dec 4, 2019): `method` list have been adapted from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods and since `LIST` is not an officially safe method, we can't list that in our default set of methods. But we've implemented an `<input>` box instead of `<select>` options, this allows user to type in any custom `method` they want. These custom methods could be used in endpoints that support those methods.
Author
Owner

@liyasthomas commented on GitHub (Dec 4, 2019):

@JanoschDeurer can you do a quick verification of custom method feature?

Check out https://deploy-preview-400--postwoman.netlify.com and try out few custom methods you're familiar of.

Don't forget to use the endpoints that do support those methods. The default one doesn't seems to have support for custom methods.

<!-- gh-comment-id:561690053 --> @liyasthomas commented on GitHub (Dec 4, 2019): @JanoschDeurer can you do a quick verification of custom method feature? Check out https://deploy-preview-400--postwoman.netlify.com and try out few custom methods you're familiar of. Don't forget to use the endpoints that do support those methods. The default one doesn't seems to have support for custom methods.
Author
Owner

@JanoschDeurer commented on GitHub (Dec 5, 2019):

Wow, that was fast 🤩, thank you so much. I tested it with a few of the custom methods that vault uses and it works.

<!-- gh-comment-id:562046746 --> @JanoschDeurer commented on GitHub (Dec 5, 2019): Wow, that was fast 🤩, thank you so much. I tested it with a few of the custom methods that vault uses and it works.
Author
Owner

@liyasthomas commented on GitHub (Dec 5, 2019):

Shoot suggestions and along with PRs 😌👍

<!-- gh-comment-id:562047360 --> @liyasthomas commented on GitHub (Dec 5, 2019): Shoot suggestions and along with PRs 😌👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#148
No description provided.