docs: Make dev-fetch-api-key use curl example system.

This commit is contained in:
Vishnu Ks
2019-10-14 10:49:04 +00:00
committed by Tim Abbott
parent 1a0a282242
commit 8ffdbdb9bd

View File

@@ -17,11 +17,7 @@ in a Zulip production server.
{start_tabs}
{tab|curl}
``` curl
curl -X POST {{ api_url }}/v1/dev_fetch_api_key \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
-d "username=iago@zulip.com"
```
{generate_code_example(curl)|/dev_fetch_api_key:post|example}
{end_tabs}