16 lines
378 B
HTTP
16 lines
378 B
HTTP
@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}}"
|
|
} |