August 2018
Intermediate to advanced
466 pages
10h 23m
English
We have already installed HTTPie (https://httpie.org/) as part of the installation from reading the requirements.txt file. Although this book is printed in black and white text so it does not show up here, in your installation, you can see that HTTPie has better syntax highlighting for HTTP transactions. It also has a more intuitive command-line interaction with the RESTful HTTP server. We can use it to test our first Flask application (more examples on HTTPie to follow):
$ http GET http://172.16.1.173:5000/HTTP/1.0 200 OKContent-Length: 17Content-Type: text/html; charset=utf-8Date: Wed, 22 Mar 2017 17:37:12 GMTServer: Werkzeug/0.9.6 Python/3.5.2Hello Networkers!
Read now
Unlock full access