notify: added bash alias example
This commit is contained in:
parent
583583ae5f
commit
d31149cfd0
1 changed files with 3 additions and 0 deletions
|
@ -236,6 +236,9 @@ def index():
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
bash alias
|
||||||
|
<pre class="border"><code>notify() {{ curl "{CONFIG_URL}/notify/{token}" -g --data-urlencode "body=${{1:-}}"; }}</code></pre>
|
||||||
curl
|
curl
|
||||||
<pre class="border"><code>curl "{CONFIG_URL}/notify" -H "Authorization: Bearer {token}"</code></pre>
|
<pre class="border"><code>curl "{CONFIG_URL}/notify" -H "Authorization: Bearer {token}"</code></pre>
|
||||||
curl w/ specific body/title
|
curl w/ specific body/title
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue