Browse files

Added note about testing voting locally

  • Loading branch information...
wylieconlon committed Apr 17, 2012
1 parent 1cea082 commit 2ff7f03e591c7e79060ca04aec8d64a39baa7726
Showing with 3 additions and 5 deletions.
  1. +3 −5
@@ -83,11 +83,9 @@ You can use any SMTP server for this, such as [Sendgrid](
### 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](
+to the `/SmsResponse` route using `curl`.
Running the app

0 comments on commit 2ff7f03

Please sign in to comment.