2012-10-01 15:36:44 -04:00
|
|
|
#!/bin/sh
|
|
|
|
# Two quick API tests using curl
|
2012-10-17 17:24:13 -04:00
|
|
|
curl https://app.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 -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -d "email=tabbott@humbughq.com"
|
2012-10-02 16:28:47 -04:00
|
|
|
|
2012-10-17 17:24:13 -04:00
|
|
|
# Or replace https://app.humbughq.com with your local test instance
|