joshuadunlop commited on
Commit
398b0ee
·
verified ·
1 Parent(s): 9721517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -22,8 +22,15 @@ def get_backlinks(api_login, api_key, target_url, filters):
22
  }
23
  }
24
 
 
 
 
 
 
 
 
25
  # Making the API request
26
- response = requests.post("https://api.dataforseo.com/v3/backlinks/backlinks/live", json=post_data, headers=headers)
27
 
28
  # Log the full response for debugging
29
  st.text("API Response:")
 
22
  }
23
  }
24
 
25
+ # Print API call details for review
26
+ api_url = "https://api.dataforseo.com/v3/backlinks/backlinks/live"
27
+ st.text("Making API Call:")
28
+ st.text(f"API URL: {api_url}")
29
+ st.text(f"Headers: {headers}")
30
+ st.text(f"Post Data: {post_data}")
31
+
32
  # Making the API request
33
+ response = requests.post(api_url, json=post_data, headers=headers)
34
 
35
  # Log the full response for debugging
36
  st.text("API Response:")