httpie / http-prompt

An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie

Home Page:https://http-prompt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--json: error: InvalidSchema: Missing dependencies for SOCKS support.

TheLastProject opened this issue · comments

Happens on my Macbook (Catalina 10.15.2). I couldn't find any documentation on what dependencies I apparently need.

$ http-prompt http://httpbin.org
Version: 1.0.0
http://httpbin.org> --proxy http:socks5://localhost:9050
http://httpbin.org> --json
http://httpbin.org> get

--json: error: InvalidSchema: Missing dependencies for SOCKS support.

Oh, after installing http-prompt through pip my httpie install (from brew) no longer works either. No clue what weird thing happened there. But using pip's httpie together with pip install -U requests[socks] as documented on https://httpie.org/doc#socks works.

Hey, at least this issue may help the next person running into this :)