Change default site in API clients
(imported from commit 185cf8e27cb6ecd1cd8ccca834d30ca0de2236b8)
This commit is contained in:
parent
7a19875c37
commit
b88df2cf8e
12 changed files with 15 additions and 15 deletions
|
@ -1,14 +1,14 @@
|
|||
#!/bin/sh
|
||||
# Two quick API tests using curl
|
||||
|
||||
curl https://app.humbughq.com/api/v1/send_message \
|
||||
curl https://humbughq.com/api/v1/send_message \
|
||||
-d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
|
||||
-d "email=tabbott@humbughq.com" \
|
||||
-d "type=personal" -d "content=test" \
|
||||
-d "recipient=tabbott@humbughq.com"
|
||||
|
||||
curl https://app.humbughq.com/api/v1/get_messages \
|
||||
curl https://humbughq.com/api/v1/get_messages \
|
||||
-d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
|
||||
-d "email=tabbott@humbughq.com"
|
||||
|
||||
# Or replace https://app.humbughq.com with your local test instance
|
||||
# Or replace https://humbughq.com with your local test instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue