srivatsavdamaraju commited on
Commit
65d95c4
·
verified ·
1 Parent(s): 629af8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def get_metadata():
35
 
36
  # Make the GET request to the external API
37
  url = "https://ig.aidtaas.com/python-pipelines/graphrag/v1.0/getMetaData"
38
- response = requests.get(url, headers=headers, data=payload)
39
 
40
  # Check the response from the external service
41
  if response.status_code == 200:
 
35
 
36
  # Make the GET request to the external API
37
  url = "https://ig.aidtaas.com/python-pipelines/graphrag/v1.0/getMetaData"
38
+ response = requests.post(url, headers=headers, data=payload)
39
 
40
  # Check the response from the external service
41
  if response.status_code == 200: