This is great package, thanks for sharing your work!
As I've been using it couple of days I noticed that it's quite inconvenient, having to repeatedly change request settings every time I want to send different request.
The option of saving current state of request would solve the problem.
Given this output of httpie post:
http://127.0.0.1:3000/api/oauth/token> http --form --style native POST http://127.0.0.1:3000/api/oauth/token user_id==value client_id=value client_secret=value grant_type=password password=test username=testuser1 Content-Type:application/x-www-form-urlencoded
We could use eg.: http://127.0.0.1:3000/api/oauth/token> alias getToken
which would save the request under getToken keyword. Later, we could call getToken request and optionally overwrite any req options like so:
http://127.0.0.1:3000/api/oauth/token> getToken username=testuser2 password=test2
This is great package, thanks for sharing your work!
As I've been using it couple of days I noticed that it's quite inconvenient, having to repeatedly change request settings every time I want to send different request.
The option of saving current state of request would solve the problem.
Given this output of
httpie post:http://127.0.0.1:3000/api/oauth/token> http --form --style native POST http://127.0.0.1:3000/api/oauth/token user_id==value client_id=value client_secret=value grant_type=password password=test username=testuser1 Content-Type:application/x-www-form-urlencodedWe could use eg.:
http://127.0.0.1:3000/api/oauth/token> alias getTokenwhich would save the request under
getTokenkeyword. Later, we could call getToken request and optionally overwrite any req options like so:http://127.0.0.1:3000/api/oauth/token> getToken username=testuser2 password=test2