Skip to content

Commit

Permalink
docs: Make get-profile use curl example system.
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerkid authored and timabbott committed Oct 15, 2019
1 parent b68b566 commit 2a80659
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/zerver/api/get-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ zulip(config).then((client) => {

{tab|curl}

``` curl
curl -X GET {{ api_url }}/v1/users/me \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{generate_code_example(curl)|/users/me:get|example}

{end_tabs}

Expand Down

0 comments on commit 2a80659

Please sign in to comment.