Implemented token fetch

This commit is contained in:
2026-08-16 14:21:34 +02:00
parent def73c3fa8
commit 8d77e99c75
9 changed files with 51 additions and 16 deletions
+16
View File
@@ -0,0 +1,16 @@
@hostname = api.example.com
@port = 8080
@host = {{hostname}}:{{port}}
@contentType = application/json
###
# @prompt username
# @prompt refCode Your reference code display on webpage
# @prompt otp Your one-time password in your mailbox
POST https://{{host}}/verify-otp/{{refCode}} HTTP/1.1
Content-Type: {{contentType}}
{
"username": "{{username}}",
"otp": "{{otp}}"
}