This commit is contained in:
Aaron Lee 2021-10-02 02:40:39 +00:00
parent eb5e096942
commit 0e5305fdce

2
app.py
View file

@ -43,7 +43,7 @@ def verify_recaptcha(response):
} }
r = requests.post( r = requests.post(
'https://www.google.com/recaptcha/api/siteverify', data=data) 'https://www.google.com/recaptcha/api/siteverify', data=data)
print(j.json()) print(r.json())
return r.json()['success'] return r.json()['success']