From f68b4a5ca8ad6146b24c023f2f2ddda5b14331da Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 29 Sep 2014 22:25:05 -0700 Subject: [PATCH] Add -X POST to tutorial for mac users --- README.md | 2 +- views/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6ffede..d3ed7a7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ TextBelt (http://textbelt.com) is an outgoing SMS API that uses carrier-specific Send a text with a simple POST request: ``` -$ curl http://textbelt.com/text \ +$ curl -X POST http://textbelt.com/text \ -d number=5551234567 \ -d "message=I sent this message for free with textbelt.com" ``` diff --git a/views/index.html b/views/index.html index 1dc594c..9c6b99a 100644 --- a/views/index.html +++ b/views/index.html @@ -39,7 +39,7 @@ body {

Send a text with a simple POST request:

-
$ curl http://textbelt.com/text \
+
$ curl -X POST http://textbelt.com/text \
    -d number=5551234567 \
    -d "message=I sent this message for free with textbelt.com"