Files
services/examples/user/resetPassword/curl/resetPassword.sh

9 lines
271 B
Bash
Executable File

curl "http://localhost:8080/user/ResetPassword" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"code": "some-code-from-email",
"confirmPassword": "newpass123",
"email": "joe@example.com",
"newPassword": "newpass123"
}'