params = urllib.parse.urlencode({'cmd': 'token', 'device_id_st': 'AAAA-BBBB-CCCC',
    'token_id_st': 'DDDD-EEEE_FFFF', 'product_id': 'Unit Test',
    'product_ver': '1.6.3'})
HTTPS POST request Python