Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added note about testing voting locally

  • Loading branch information...
commit 2ff7f03e591c7e79060ca04aec8d64a39baa7726 1 parent 1cea082
@wylieconlon authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 README.md
View
8 README.md
@@ -83,11 +83,9 @@ You can use any SMTP server for this, such as [Sendgrid](http://sengrid.com).
### Note about Twilio
This project is tricky to test locally because Twilio must have a web-accessible
-URL for its incoming SMS callbacks. That's why there's an alternate way to vote
-by sending an HTTP `GET` to the `/vote/:code/:choiceIndex` route (note: only one
-vote per user is enforced). One possibility is to use a proxy service to forward
-requests at a remote service to your machine.
-
+URL for its incoming SMS callbacks. However, to simulate voting behavior you
+can send fake Twilio [post parameters](http://www.twilio.com/docs/api/rest/sms)
+to the `/SmsResponse` route using `curl`.
Running the app
---------------
Please sign in to comment.
Something went wrong with that request. Please try again.