Files
services/examples/otp/validate/curl/validateOtp.sh

7 lines
183 B
Bash
Executable File

curl "http://localhost:8080/otp/Validate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"code": "656211",
"id": "asim@example.com"
}'