Spaces:
Sleeping
Sleeping
Update app.py
Browse files22 unmodified lines2324252627282930283132333422 unmodified lines "Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json",}response = requests.get(API_URL, headers=headers)print(response.status_code, response.json())
# Make the API requestresponse = requests.post(API_URL, headers=headers, data=json.dumps(payload))#response = requests.post(API_URL, headers=headers, data=json.dumps(payload))
# Check the responseif response.status_code == 200:app.py+4-1