Implemented token fetch
This commit is contained in:
@@ -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}}"
|
||||
}
|
||||
Reference in New Issue
Block a user