From d2ca08dd6f4387cb76f4dfc736497452450708da Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 2 Oct 2012 17:25:14 -0400 Subject: [PATCH] Rename the 'new_zephyr' argument to the more descriptive 'content'. (imported from commit b47e2c4823bbfbf2f94cbafb24ed5d78dfbe841b) --- examples/curl-examples | 2 +- examples/send-message | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/curl-examples b/examples/curl-examples index db6b43a..c9ec5f8 100755 --- a/examples/curl-examples +++ b/examples/curl-examples @@ -1,6 +1,6 @@ #!/bin/sh # Two quick API tests using curl -curl -k --digest -u tabbott:xxxxxxxxxxxxxxxxx https://app.humbughq.com/api/v1/send_message -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -d "email=tabbott@humbughq.com" -d "type=personal" -d "new_zephyr=test" -d "recipient=tabbott@humbughq.com" +curl -k --digest -u tabbott:xxxxxxxxxxxxxxxxx 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 -k --digest -u "tabbott:xxxxxxxxxxxxxxxxx" https://app.humbughq.com/api/v1/get_messages -d "api-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -d "email=tabbott@humbughq.com" # Replace '-k --digest -u tabbott:xxxxxxxxxxxxxxxxx https://app.humbughq.com' diff --git a/examples/send-message b/examples/send-message index 49e6a0a..003b914 100755 --- a/examples/send-message +++ b/examples/send-message @@ -32,7 +32,7 @@ client = api.common.HumbugAPI(email=options.user, message_data = { "type": "personal", - "new_zephyr": "test", + "content": "test", "recipient": "tabbott@humbughq.com", } print client.send_message(message_data)