What do I need to change so my tornado code can post successfully?
What do I need to change so my tornado code can post successfully? Question: I have the following (with some strings modified) which works when using the requests library. import requests from pprint import pprint import json PEM = ‘/full/path/to/my.pem’ client_id=’cliendID’ client_secret=’clientSecret’ USER=’myuser’ PSWD=’mypwd’ url = ‘https://theurl.com/request/’ data = { "grant_type": "password", "username": USER, "password": …