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

ULR parsing and var auto creation #469

Closed
ac2epsilon opened this issue Jan 2, 2020 · 2 comments
Closed

ULR parsing and var auto creation #469

ac2epsilon opened this issue Jan 2, 2020 · 2 comments
Labels
feature New feature or request

Comments

@ac2epsilon
Copy link

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)

@liyasthomas liyasthomas added the feature New feature or request label Jan 2, 2020
@liyasthomas
Copy link
Member

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?

@liyasthomas
Copy link
Member

liyasthomas commented Jan 19, 2020

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants