Skip to content

Commit

Permalink
Merge pull request #4 from SethFalco/fetch-docs
Browse files Browse the repository at this point in the history
docs: add 2nd arg to fetch
  • Loading branch information
otothea committed Feb 12, 2022
2 parents 801c133 + 41272d4 commit fbe9a6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/variables/fetch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ Usage:

Arguments:
* ``url`` **<required>** - The url to send the request to
* ``path`` **[optional]** - The path to the property in the response (JSON only)

Example Command:
**name**: !kanye

**response**: $(fetch https://api.kanye.rest/?format=text) - Kanye
**response**: $(fetch https://api.kanye.rest/ quote) - Kanye

**output**::

Expand Down

0 comments on commit fbe9a6e

Please sign in to comment.