[manual] Use api.zulip.com to access the Humbug API.
This needs to be deployed after the nginx configuration is deployed. (imported from commit 167a3d9d27595d40883bb400ebcc44c4ad9b6a2f)
This commit is contained in:
parent
d063efa8a0
commit
22e5a15bc4
10 changed files with 14 additions and 18 deletions
|
@ -1,13 +1,13 @@
|
|||
#!/bin/sh
|
||||
# Two quick API tests using curl
|
||||
|
||||
curl https://api.humbughq.com/v1/send_message \
|
||||
curl https://api.zulip.com/v1/send_message \
|
||||
-d "api-key=BOT_API_KEY" \
|
||||
-d "email=BOT_EMAIL" \
|
||||
-d "type=private" -d "content=test" \
|
||||
-d "to=RECIPIENT_EMAIL"
|
||||
|
||||
curl https://api.humbughq.com/v1/get_messages \
|
||||
curl https://api.zulip.com/v1/get_messages \
|
||||
-d "api-key=BOT_API_KEY" \
|
||||
-d "email=BOT_EMAIL"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue