You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would like to add more detail, but don't have time to at the moment so here's the tl;dw (too long, didn't write):
my Mac system has Python 3 installed via homebrew
I pip3 install'd http-prompt (version 1.0.0)
http-prompt was starting up fine, but wasn't respecting a --form flag in my env -- it respected cd and -v flags for some reason though. 🤔
I tried a number of things, but eventually it worked when I brew tapped and installed a python@2 version (as it's no longer supported in official homebrew) and pip install'd from there.
Just figured I'd let you know! I'm guessing it works fine on latest master - if so, could you cut a new release?
The text was updated successfully, but these errors were encountered:
I don't think it's a Python interpreter problem (2 vs 3).
when using option --form (or -f), httpie post is displaying the good command but is sending a bad request with Content-Type: application/json. 👎
http://127.0.0.1:8000> env
--form
cd http://127.0.0.1:8000
name=value
http://127.0.0.1:8000> httpie post
http --form POST http://127.0.0.1:8000 name=value
http://127.0.0.1:8000> post
when using double option --form (or double -f or mixed --form and -f), http-prompt is sending a good request with Content-Type: application/x-www-form-urlencoded; charset=utf-8. 👍
http://127.0.0.1:8000> env
--form
-f
cd http://127.0.0.1:8000
name=value
http://127.0.0.1:8000> httpie post
http --form -f POST http://127.0.0.1:8000 name=value
http://127.0.0.1:8000> post
would like to add more detail, but don't have time to at the moment so here's the tl;dw (too long, didn't write):
pip3 install
'dhttp-prompt
(version 1.0.0)http-prompt
was starting up fine, but wasn't respecting a--form
flag in myenv
-- it respectedcd
and-v
flags for some reason though. 🤔pip install
'd from there.Just figured I'd let you know! I'm guessing it works fine on latest master - if so, could you cut a new release?
The text was updated successfully, but these errors were encountered: