Skip to Content
Hands-On RESTful Python Web Services - Second Edition
book

Hands-On RESTful Python Web Services - Second Edition

by Gastón C. Hillar
December 2018
Intermediate to advanced
500 pages
12h 33m
English
Packt Publishing
Content preview from Hands-On RESTful Python Web Services - Second Edition

Working with command-line tools - curl and httpie

We will start composing and sending HTTP requests with the curl and HTTPie command-line tools we introduced in Chapter 1, Developing RESTful APIs and Microservice with Flask 1.0.2, in the section named Working with command-line tools - curl and httpie. Make sure you read this section before executing the next examples.

Whenever we compose HTTP requests with the command line, we will use two versions of the same command: the first one with HTTPie and the second one with curl. This way, you will be able to use the most convenient for you.

Make sure you leave the Django development server running. Don't close the Terminal or Command Prompt that is running this development server. Open a new Terminal ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building RESTful Python Web Services

Building RESTful Python Web Services

Gastón C. Hillar
Python Command Line Tools

Python Command Line Tools

Alfredo Deza, Noah Gift

Publisher Resources

ISBN: 9781789532227Supplemental Content