5 comments

[ 0.27 ms ] story [ 448 ms ] thread
I think there is a trailing \ too much in the curl example.

I can't test it, because I'm in Germany, but did you implement any rate limiting? It does look like everyone could send lots of text messages over your API.

I thought the same thing but having that actually made it easy to copy and paste into my terminal and then edit the number.
One of the responses is "LIMIT REACHED", so i guess they did.
Pretty cool, I just tried it and it worked. I didn't like how I had to send two requests with the same message, one before and one after opting in. Ideally after opting in I would have received the initial message. Otherwise any application would have to use polling.

For the code snippets you could use httpsnippet[1] or apiembed[2] to support some more languages.

1. https://github.com/Mashape/httpsnippet

2. http://apiembed.com/