Move files around in the API.
Bots are not part of what we distribute, so put them in the repo root. We also updated some of the bots to use relative path names. (imported from commit 0471d863450712fd0cdb651f39f32e9041df52ba)
This commit is contained in:
parent
2a47fc4777
commit
d8f13837d9
23 changed files with 5 additions and 4 deletions
14
examples/curl-examples
Executable file
14
examples/curl-examples
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
# Two quick API tests using curl
|
||||
|
||||
curl https://humbughq.com/api/v1/send_message \
|
||||
-d "api-key=YOUR_API_KEY" \
|
||||
-d "email=YOUR_EMAIL" \
|
||||
-d "type=private" -d "content=test" \
|
||||
-d "to=RECIPIENT_EMAIL"
|
||||
|
||||
curl https://humbughq.com/api/v1/get_messages \
|
||||
-d "api-key=YOUR_API_KEY" \
|
||||
-d "email=YOUR_EMAIL"
|
||||
|
||||
# Or replace https://humbughq.com with your local test instance
|
Loading…
Add table
Add a link
Reference in a new issue