We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d87d4c commit 298ee60Copy full SHA for 298ee60
openlibrary/plugins/upstream/account.py
@@ -460,7 +460,7 @@ class otp_service_issue(delegate.page):
460
461
def POST(self):
462
"""
463
- >>> requests.get("https://staging.openlibrary.org/account/otp/issue", data={"email": "email@example.com", "ip": "127.0.0.1"})
+ >>> requests.post("https://staging.openlibrary.org/account/otp/issue", data={"email": "email@example.com", "ip": "127.0.0.1"})
464
465
web.header('Content-Type', 'application/json')
466
i = web.input(email="", ip="", challenge_url="", sendmail='true')
0 commit comments