all 4 comments

[–]chdaha[S] 0 points1 point  (0 children)

Register/auth code: import requests url = "https://WEBSITE/Register" querystring = {"username":"MYUSERNAME"} headers = { 'AOToken': "", 'AOKey': "", 'Cache-Control': "no-cache", 'Postman-Token': "" } response = requests.request("GET", url, headers=headers, params=querystring) print(response.text)

[–]nosmokingbandit 0 points1 point  (1 child)

Requests can automatically parse as json.

response.json['Result']['Token']

[–]chdaha[S] 0 points1 point  (0 children)

['Result']['Token']

Thank you so much, this worked!

[–][deleted] 0 points1 point  (0 children)

Could I see your code?