Skip to content

Commit 298ee60

Browse files
mekarpelesCopilot
andauthored
fix http method in docs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8d87d4c commit 298ee60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlibrary/plugins/upstream/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ class otp_service_issue(delegate.page):
460460

461461
def POST(self):
462462
"""
463-
>>> requests.get("https://staging.openlibrary.org/account/otp/issue", data={"email": "email@example.com", "ip": "127.0.0.1"})
463+
>>> requests.post("https://staging.openlibrary.org/account/otp/issue", data={"email": "email@example.com", "ip": "127.0.0.1"})
464464
"""
465465
web.header('Content-Type', 'application/json')
466466
i = web.input(email="", ip="", challenge_url="", sendmail='true')

0 commit comments

Comments
 (0)