Requesting the HTTP POST REST API via Python