
Here is a great tool (written in python): an interactive command-line HTTP client featuring autocomplete and syntax highlighting called http-prompt
The installation is quite simple :
# pip install http-prompt Collecting http-prompt Downloading http-prompt-0.2.0.tar.gz Collecting click>=5.0 (from http-prompt) Downloading click-6.6.tar.gz (283kB) 100% |████████████████████████████████| 286kB 4.3MB/s Collecting httpie>=0.9.0 (from http-prompt) Downloading httpie-0.9.3-py2.py3-none-any.whl (66kB) 100% |████████████████████████████████| 71kB 13.5MB/s Collecting parsimonious>=0.6.2 (from http-prompt) Downloading parsimonious-0.6.2.tar.gz Collecting prompt-toolkit>=0.60 (from http-prompt) Downloading prompt_toolkit-1.0.0-py2-none-any.whl (223kB) 100% |████████████████████████████████| 225kB 5.7MB/s Requirement already satisfied (use --upgrade to upgrade): Pygments>=2.1.0 in /usr/lib/python2.7/dist-packages (from http-prompt) Requirement already satisfied (use --upgrade to upgrade): six>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from http-prompt) Requirement already satisfied (use --upgrade to upgrade): requests>=2.3.0 in /usr/local/lib/python2.7/dist-packages (from httpie>=0.9.0->http-prompt) Collecting wcwidth (from prompt-toolkit>=0.60->http-prompt) Downloading wcwidth-0.1.6-py2.py3-none-any.whl Building wheels for collected packages: http-prompt, click, parsimonious Running setup.py bdist_wheel for http-prompt ... done Stored in directory: /root/.cache/pip/wheels/3f/46/eb/3b9c2305baf7880360d249d7cb626191f8b9b7cd970f4b9cb1 Running setup.py bdist_wheel for click ... done Stored in directory: /root/.cache/pip/wheels/b0/6d/8c/cf5ca1146e48bc7914748bfb1dbf3a40a440b8b4f4f0d952dd Running setup.py bdist_wheel for parsimonious ... done Stored in directory: /root/.cache/pip/wheels/ac/7c/28/e49224e275a9c54284c10d987aa5a1c8db2b666f7ee823fc34 Successfully built http-prompt click parsimonious Installing collected packages: click, httpie, parsimonious, wcwidth, prompt-toolkit, http-prompt Successfully installed click-6.6 http-prompt-0.2.0 httpie-0.9.3 parsimonious-0.6.2 prompt-toolkit-1.0.0 wcwidth-0.1.6 You are using pip version 8.1.1, however version 8.1.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
Ok… pip is not up-to-date. Let’s update it:
# pip install --upgrade pip Collecting pip Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB) 100% |████████████████████████████████| 1.2MB 983kB/s Installing collected packages: pip Found existing installation: pip 8.1.1 Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr Successfully installed pip-8.1.2
More information here : https://github.com/eliangcs/http-prompt
My Powershell script categories
- Active Directory
- Cluster
- Database
- Exchange
- Files and folders
- Hardware
- Network
- Operating System
- PKI
- SCCM
- Service and process
- Tips
- VMWare
Interactive command-line HTTP client featuring autocomplete and syntax highlighting