Connect to Okta API's by using Python

Hi @sriajay

Here is a Python example generated from Postman to retrieve the details about the current user


url = "https://org.okta.com/api/v1/users/me"

payload = ""
headers = {
    'Accept': "application/json",
    'Content-Type': "application/json",
    'Authorization': "SSWS 00b[...]Fi"
    }

response = requests.request("GET", url, data=payload, headers=headers)

print(response.text)

Can you please test it out, modifying org.okta.com with your current Okta preview org and 00b[...]Fi with your API token?