feat: initial
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
info:
|
||||
name: Check OTP
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/check-otp"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09001234567"
|
||||
- name: token
|
||||
type: text
|
||||
value: "96969"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "var jsonData = res.getBody();\r
|
||||
|
||||
pm.collectionVariables.set(\"token\", jsonData.token);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user