mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 14:35:07 +00:00
Generate clients (#206)
This commit is contained in:
6
examples/user/read/curl/readAccountByEmail.sh
Executable file
6
examples/user/read/curl/readAccountByEmail.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
curl "https://api.m3o.com/v1/user/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
"email": "joe@example.com"
|
||||
}'
|
||||
6
examples/user/read/curl/readAccountByUsernameOrEmail.sh
Executable file
6
examples/user/read/curl/readAccountByUsernameOrEmail.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
curl "https://api.m3o.com/v1/user/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
"username": "usrname-1"
|
||||
}'
|
||||
6
examples/user/read/curl/readAnAccountById.sh
Executable file
6
examples/user/read/curl/readAnAccountById.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
curl "https://api.m3o.com/v1/user/Read" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
"id": "usrid-1"
|
||||
}'
|
||||
Reference in New Issue
Block a user