Files
api-approagency/Auth/Check OTP.yml
T
2026-06-10 12:06:34 +03:30

32 lines
536 B
YAML

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: "09362957108"
- 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