[GH-ISSUE #2576] [feature]: Document build request from url params #856

Closed
opened 2026-03-16 17:27:22 +03:00 by kerem · 4 comments
Owner

Originally created by @tzvc on GitHub (Aug 11, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2576

Is there an existing issue for this?

  • I have searched the existing issues

Summary

I figured that building a request from url params is possible (ex. hoppscotch.io?url=<url>&method=<method>) but I couldn't find name for other url parameters in the documentation. For ex., what is the param name to say the req. will have a body encoded in application/json?

Why should this be worked on?

I feel like building a hoppscotch request directly from a URL is a solid feature. For ex. in some API documentation, a link "Try it on Hoppscotch" could take you to hoppscotch with the request already ready. I would personally use it on https://chunk.run to give an easy way for users to try out their endpoint.

Originally created by @tzvc on GitHub (Aug 11, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2576 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary I figured that building a request from url params is possible (ex. `hoppscotch.io?url=<url>&method=<method>`) but I couldn't find name for other url parameters in the documentation. For ex., what is the param name to say the req. will have a body encoded in `application/json`? ### Why should this be worked on? I feel like building a hoppscotch request directly from a URL is a solid feature. For ex. in some API documentation, a link "Try it on Hoppscotch" could take you to hoppscotch with the request already ready. I would personally use it on https://chunk.run to give an easy way for users to try out their endpoint.
kerem 2026-03-16 17:27:22 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Aug 11, 2022):

Building requests from URL parameters were deprecated. Instead, now you can create shortcodes for any request setup and share them with your team or friends.

Here's the announcement post: https://twitter.com/liyasthomas/status/1462732159274217475
Here's a demo of shortcodes: https://twitter.com/liyasthomas/status/1462732175757828097

<!-- gh-comment-id:1212129606 --> @liyasthomas commented on GitHub (Aug 11, 2022): Building requests from URL parameters were deprecated. Instead, now you can create shortcodes for any request setup and share them with your team or friends. Here's the announcement post: https://twitter.com/liyasthomas/status/1462732159274217475 Here's a demo of shortcodes: https://twitter.com/liyasthomas/status/1462732175757828097
Author
Owner

@tzvc commented on GitHub (Aug 11, 2022):

Thanks for the prompt reply @liyasthomas
Shortcodes look great, but can they be built programmatically (for ex. to build a hopp.sh link with the user's info prefilled)?

<!-- gh-comment-id:1212172803 --> @tzvc commented on GitHub (Aug 11, 2022): Thanks for the prompt reply @liyasthomas Shortcodes look great, but can they be built programmatically (for ex. to build a hopp.sh link with the user's info prefilled)?
Author
Owner

@mst commented on GitHub (Aug 5, 2023):

I'd be interested in this too. While the short link is a nice feature for sharing static requests, I'd love be able to build pre-filled requests without any additional code, just by applying a template.

Was there a specific concern why this got feature removed?

<!-- gh-comment-id:1666501575 --> @mst commented on GitHub (Aug 5, 2023): I'd be interested in this too. While the short link is a nice feature for sharing static requests, I'd love be able to build pre-filled requests without any additional code, just by applying a template. Was there a specific concern why this got feature removed?
Author
Owner

@mst commented on GitHub (Aug 6, 2023):

It looks like this is still possible, even being maintained.

https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-common/src/helpers/RESTExtURLParams.ts.

I verified and it works like a charm.

E.g.
https://hoppscotch.io/?url=https://httpbin.org&path=anything&headers=[{"key":"x","value":"y"}]&contentType=application/json&rawParams={"key":"1","value":{"x":"2"}}

<!-- gh-comment-id:1666861902 --> @mst commented on GitHub (Aug 6, 2023): It looks like this is still possible, even being maintained. https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-common/src/helpers/RESTExtURLParams.ts. I verified and it works like a charm. E.g. https://hoppscotch.io/?url=https://httpbin.org&path=anything&headers=[{"key":"x","value":"y"}]&contentType=application/json&rawParams={"key":"1","value":{"x":"2"}}
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#856
No description provided.