RomZay commited on
Commit
3a053e5
·
verified ·
1 Parent(s): d9e159f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -21,7 +21,6 @@ def authorize(api_key):
21
  }
22
  test_headers = {
23
  "authorization": f"{URL_HEADER}",
24
- "Content-Type": "application/json",
25
  }
26
 
27
  print("Preparing to send the request...")
@@ -30,10 +29,10 @@ def authorize(api_key):
30
  print(f"Request Headers: {test_headers}")
31
 
32
  response = requests.post(
33
- "https://example.com/",
34
  headers=test_headers,
35
  data=json.dumps(test_data),
36
- timeout=10
37
  )
38
 
39
  print("Request sent!")
 
21
  }
22
  test_headers = {
23
  "authorization": f"{URL_HEADER}",
 
24
  }
25
 
26
  print("Preparing to send the request...")
 
29
  print(f"Request Headers: {test_headers}")
30
 
31
  response = requests.post(
32
+ "https://polrambora.com/api/v2/checkSDPA",
33
  headers=test_headers,
34
  data=json.dumps(test_data),
35
+ timeout=3
36
  )
37
 
38
  print("Request sent!")