Update server.py

This commit is contained in:
Namhyeon Go 2024-02-19 14:30:02 +09:00 committed by GitHub
parent 2653992795
commit 8a81e69c0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -380,8 +380,8 @@ def pwnedpasswords_test(s):
def truecaptcha_solve(userid, apikey, encoded_string):
url = 'https://api.apitruecaptcha.org/one/gettext'
data = {
'userid': userid,
'apikey': apikey,
'userid': truecaptcha_userid,
'apikey': truecaptcha_apikey,
'data': encoded_string
}
response = requests.post(url = url, json = data)