From c2ddbeb8f4fae986f20c0d6ca30a433e5ffb604b Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Wed, 17 Oct 2012 17:21:00 -0400 Subject: [PATCH] curl-examples: Check cert (imported from commit 5496142cbb1ef737ea7fc0063722a578fb7df437) --- examples/curl-examples | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/curl-examples b/examples/curl-examples index c9ec5f8..aaa33ae 100755 --- a/examples/curl-examples +++ b/examples/curl-examples @@ -1,7 +1,7 @@ #!/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 "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" +curl --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 --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' +# Replace '--digest -u tabbott:xxxxxxxxxxxxxxxxx https://app.humbughq.com' # with "http://127.0.0.1:8000" for local testing