Files
services/examples/user/read/curl/readAccountByUsernameOrEmail.sh

6 lines
159 B
Bash
Executable File

curl "http://localhost:8080/user/Read" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"username": "usrname-1"
}'