37630daeba
(imported from commit 209d525dc5892fc4c392a8ced1588c838cbb17c4)
5 lines
351 B
Bash
5 lines
351 B
Bash
#!/bin/sh
|
|
# Two quick API tests using curl
|
|
curl 127.0.0.1:8000/api/send_message -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -d "email=tabbott@humbughq.com" -d "type=personal" -d "new_zephyr=test" -d "recipient=tabbott@humbughq.com"
|
|
curl 127.0.0.1:8000/api/get_updates_new -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -d "email=tabbott@humbughq.com
|