I'm beginning to expand my python knowledge and am attempting to consume (e.g. update and receive data from a database with http POST requests with XML payloads) a REST API. I'm well aware of how to consume a REST API, but am a bit unsure what libraries to use with regards to Python specifically.
Is urllib
the way to go? the requests
module? django
(of which I'm entirely naïve to)?
This is not intended to be a subjective answer filled with opinions, but a simple introduction and a point in the right direction on how to use urllib
(or others) in conjunction with REST API.
How do you consume a REST Service with Python?