diff --git a/get_apps.py b/get_apps.py index 26ace2b..4e86ecc 100644 --- a/get_apps.py +++ b/get_apps.py @@ -15,15 +15,8 @@ data = { "callbackUrl": "http://example.com" } -# Define the headers, including the bearer token for authorization -headers = { - 'Authorization': f'Bearer {os.getenv("api_key")}', # replace YOUR_ACCESS_TOKEN with your actual token - 'Content-Type': 'application/json' -} -# Send the POST request -response = requests.post(url, json=data, headers=headers) +response = requests.post(url, json=data) -# Print the response (optional) print(response.status_code) print(response.json()) \ No newline at end of file