May 2018
Beginner to intermediate
452 pages
11h 26m
English
You've been asked to create a function in your program to upload a CSV extract of the daily data to ABQ's corporate web services, which uses an authenticated REST API. While urllib is easy enough to use for simple one-off GET and POST requests, complex interactions involving authentication tokens, file uploads, or REST services can be frustrating and complicated using urllib alone. To get this done, we'll turn to the requests library.