June 2017
Intermediate to advanced
446 pages
10h 10m
English
We have already installed HTTPie (https://httpie.org/) as part of the requirements.txt step. Although it does not show in black and white text, HTTPie has better syntax highlighting. It also has more intuitive command-line interaction with the RESTful HTTP server. We can use it to test our first Flask application (more explanation 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!
We will use HTTPie as our client for this chapter; it is worth a ...
Read now
Unlock full access