[GH-ISSUE #469] ULR parsing and var auto creation #181

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

Originally created by @ac2epsilon on GitHub (Jan 2, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/469

As I see this people work like this: a) try url in browser actually b) copy to our input c) modify PUT params and rerun. So it have to be lending input where ppl paste/drag ready made url from browser. And then we parse url to parts like
Protocol: HTTPS
Host: github.com
Path: /liyasthomas/postwoman/issues/new
Params:
assignees=${_assignees}
labels=${_labels}
template=feature_request.md
title=${_title}
It will make easy to identify and modify params/ opens door to macro and scripting (instead or with pre-scripting). And will build ground to further WDSL/Swagger/gRPS impl(s)

Originally created by @ac2epsilon on GitHub (Jan 2, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/469 As I see this people work like this: a) try url in browser actually b) copy to our input c) modify PUT params and rerun. So it have to be lending input where ppl paste/drag ready made url from browser. And then we parse url to parts like Protocol: HTTPS Host: github.com Path: /liyasthomas/postwoman/issues/new Params: assignees=${_assignees} labels=${_labels} template=feature_request.md title=${_title} It will make easy to identify and modify params/ opens door to macro and scripting (instead or with pre-scripting). And will build ground to further WDSL/Swagger/gRPS impl(s)
kerem 2026-03-16 13:55:13 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Jan 3, 2020):

We currently have such a similar implementation. URL is parsed and populated to diff categories including parameters, payload, headers etc.

Users can make a request and we append it's attributes to URL as parameters making it a universally sharable link. Anybody with that link can replicate the same request from the other side by just visiting it.

Ex: https://postwoman.io/?method=GET&url=https%3A%2F%2Freqres.in&path=%2Fapi%2Fusers%3Fpage%3D2&headers=%5B%7B%22key%22%3A%22Age%22,%22value%22%3A%221200%22%7D,%7B%22key%22%3A%22Content-Length%22,%22value%22%3A%22300%22%7D%5D&params=%5B%7B%22key%22%3A%22page%22,%22value%22%3A%222%22%7D%5D

Is this exactly what you mentioned? May be I didn't get what you really meant. Care to elaborate?

<!-- gh-comment-id:570432807 --> @liyasthomas commented on GitHub (Jan 3, 2020): We currently have such a similar implementation. URL is parsed and populated to diff categories including parameters, payload, headers etc. Users can make a request and we append it's attributes to URL as parameters making it a universally sharable link. Anybody with that link can replicate the same request from the other side by just visiting it. Ex: https://postwoman.io/?method=GET&url=https%3A%2F%2Freqres.in&path=%2Fapi%2Fusers%3Fpage%3D2&headers=%5B%7B%22key%22%3A%22Age%22,%22value%22%3A%221200%22%7D,%7B%22key%22%3A%22Content-Length%22,%22value%22%3A%22300%22%7D%5D&params=%5B%7B%22key%22%3A%22page%22,%22value%22%3A%222%22%7D%5D Is this exactly what you mentioned? May be I didn't get what you really meant. Care to elaborate?
Author
Owner

@liyasthomas commented on GitHub (Jan 19, 2020):

Closing due to inactivity

<!-- gh-comment-id:575950953 --> @liyasthomas commented on GitHub (Jan 19, 2020): Closing due to inactivity
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#181
No description provided.