Add -X POST to tutorial for mac users

This commit is contained in:
Ian 2014-09-29 22:25:05 -07:00
parent b033d3ac57
commit f68b4a5ca8
2 changed files with 2 additions and 2 deletions

View File

@ -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: Send a text with a simple POST request:
``` ```
$ curl http://textbelt.com/text \ $ curl -X POST http://textbelt.com/text \
-d number=5551234567 \ -d number=5551234567 \
-d "message=I sent this message for free with textbelt.com" -d "message=I sent this message for free with textbelt.com"
``` ```

View File

@ -39,7 +39,7 @@ body {
<p>Send a text with a simple POST request:</p> <p>Send a text with a simple POST request:</p>
<pre><code>$ curl <a href="http://textbelt.com/text">http://textbelt.com/text</a> \ <pre><code>$ curl -X POST <a href="http://textbelt.com/text">http://textbelt.com/text</a> \
-d number=5551234567 \ -d number=5551234567 \
-d "message=I sent this message for free with textbelt.com" -d "message=I sent this message for free with textbelt.com"
</code></pre> </code></pre>