docs: Make get-all-users use curl example system.

This commit is contained in:
Vishnu Ks 2019-10-11 12:51:18 +00:00 committed by Tim Abbott
parent ea06dc6ab3
commit b68b566711
1 changed files with 2 additions and 7 deletions

View File

@ -33,16 +33,11 @@ zulip(config).then((client) => {
{tab|curl}
``` curl
curl -X GET {{ api_url }}/v1/users -u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{generate_code_example(curl, include=[""])|/users:get|example}
You may pass the `client_gravatar` query parameter as follows:
``` curl
curl -X GET {{ api_url }}/v1/users?client_gravatar=true \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{generate_code_example(curl)|/users:get|example}
{end_tabs}