16 lines
1.5 KiB
JSON
16 lines
1.5 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"09121234567\"}')",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"09121234567\"}' -w \"\\\\nHTTP %{http_code}\\\\n\")",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"09131111111\"}')",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/verify/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"09131111111\",\"code\":\"0000\",\"full_name\":\"X\",\"role\":\"student\"}' -w \"\\\\nHTTP %{http_code}\\\\n\")",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"+989141111111\"}' -w \"\\\\nHTTP %{http_code}\\\\n\")",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"12345\"}' -w \"\\\\nHTTP %{http_code}\\\\n\")",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"09223740993\"}' -w \"\\\\nHTTP %{http_code}\\\\n\")",
|
|
"Bash(curl -sSv --max-time 15 https://api.sms.ir)",
|
|
"Bash(curl -sS -X POST http://localhost:8000/api/auth/otp/send/ -H 'Content-Type: application/json' -d '{\"phone_number\":\"09223740993\"}' -w '\\\\nHTTP %{http_code}\\\\n')"
|
|
]
|
|
}
|
|
}
|