Skip to content

Commit

Permalink
update $(fetch) example
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Jul 4, 2020
1 parent ef2764c commit 7ef5630
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/variables/fetch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Arguments:
* ``url`` **<required>** - The url to send the request to

Example Command:
**name**: !foaas
**name**: !kanye

**response**: $(fetch https://foaas.com/you/Peter/Bob)
**response**: $(fetch https://api.kanye.rest/?format=text) - Kanye

**output**::

user: !foaas
botisimo: Fuck you, Peter. -Bob
user: !kanye
botisimo: I'm a creative genius - Kanye
8 changes: 4 additions & 4 deletions docs/variables/fetchp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Arguments:
* ``data`` **[optional]** - The data string to send to the url

Example Command:
**name**: !foaas
**name**: !kanye

**response**: $(fetchp https://foaas.com/you/Peter/Bob)
**response**: $(fetchp https://api.kanye.rest/?format=text) - Kanye

**output**::

user: !foaas
botisimo: Fuck you, Peter. -Bob
user: !kanye
botisimo: I'm a creative genius - Kanye

0 comments on commit 7ef5630

Please sign in to comment.