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

9 lines
261 B
Bash
Executable File

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