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

Making HTTP requests to the API with command-line tools

The metrics/development.ini file is a settings file that defines the Pyramid app and server configuration for the development environment. As happens in most .ini files, the configuration settings are organized in sections. For example, the [server:main] section specifies the value for the listen setting as localhost:6543 to make the waitress server listen on port 6543 and bind it to the localhost address.

This file was included when we created a new app based on a template. Open the metrics/development.ini file and locate the following line that specifies the bool value for the pyramid.debug_routematch setting. The code file for the sample is included in the restful_python_2_09_01 ...

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