Add -X POST to tutorial for mac users
This commit is contained in:
parent
b033d3ac57
commit
f68b4a5ca8
@ -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"
|
||||
```
|
||||
|
@ -39,7 +39,7 @@ body {
|
||||
|
||||
<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 "message=I sent this message for free with textbelt.com"
|
||||
</code></pre>
|
||||
|
Loading…
Reference in New Issue
Block a user