[manual] Change API URLs to be based on api.humbughq.com/api.

This must be deployed after we update our running nginx configuration
to serve api.humbughq.com.

(imported from commit b5c34ebdd595f55eecd6dca6a18a37f105107bd5)
This commit is contained in:
Tim Abbott 2013-06-24 15:48:32 -04:00
parent 360d78e9a2
commit 5e2979b870
8 changed files with 13 additions and 12 deletions

View file

@ -1,14 +1,13 @@
#!/bin/sh
# Two quick API tests using curl
curl https://humbughq.com/api/v1/send_message \
curl https://api.humbughq.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://humbughq.com/api/v1/get_messages \
curl https://api.humbughq.com/v1/get_messages \
-d "api-key=BOT_API_KEY" \
-d "email=BOT_EMAIL"
# Or replace https://humbughq.com with your local test instance