Consuming RESTful Services from a Command Line
Objective
Install HTTPIE to use as follows
$ http -f POST example.org hello=World
$ http DELETE example.org/todos/7
What to Download and Install
Download and Install Python https://www.python.org/download . Add the Installed path C:\PythonX to your Path. Found in Environment Variables. You can run the command Path in your command prompt after changing your Path to apply your changes.
Install PIP
Right click on this link and save file to your PythonX directory. get-pip.py. You can also get instructions here https://pip.pypa.io/en/latest/installing.html.
Open Powershell in Administrator mode. Go to your PythonX directory and run this command.
python get-pip.py
Install HTTPIE
In Powershell in Administrator mode run the following command:
pip --allow-external install --upgrade httpie
Read More
https://github.com/jakubroztocil/httpie#installation
Categories: RESTful
Comments (0)
Trackbacks (0)
Leave a comment
Trackback