Skip to content

Instantly share code, notes, and snippets.

@jsjoeio
Created December 14, 2017 02:35
Show Gist options
  • Save jsjoeio/f8cadb7e5e0cae27d594bc6fbe3105ec to your computer and use it in GitHub Desktop.
Save jsjoeio/f8cadb7e5e0cae27d594bc6fbe3105ec to your computer and use it in GitHub Desktop.
Twilo App - solved
Josephs-MacBook-Pro:call-forwarding-node-master josephprevite$ yarn start
yarn run v1.3.2
$ node ./bin/www
::1 - - [14/Dec/2017:02:15:35 +0000] "GET / HTTP/1.1" 200 1172 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
::1 - - [14/Dec/2017:02:15:35 +0000] "GET /static/css/main.css HTTP/1.1" 404 158 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
::1 - - [14/Dec/2017:02:15:36 +0000] "GET /static/css/main.css HTTP/1.1" 404 158 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
::1 - - [14/Dec/2017:02:15:36 +0000] "GET /favicon.ico HTTP/1.1" 404 150 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
::1 - - [14/Dec/2017:02:15:44 +0000] "GET /static/css/main.css HTTP/1.1" 404 158 "http://localhost:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
::1 - - [14/Dec/2017:02:19:08 +0000] "POST /callcongress/welcome HTTP/1.1" 200 321 "-" "TwilioProxy/1.1"
::1 - - [14/Dec/2017:02:19:30 +0000] "POST /callcongress/welcome HTTP/1.1" 200 321 "-" "TwilioProxy/1.1"
Executing (default): SELECT `id`, `name` FROM `States` AS `State` WHERE `State`.`name` = 'AZ' LIMIT 1;
::1 - - [14/Dec/2017:02:19:42 +0000] "POST /callcongress/set-state HTTP/1.1" 302 51 "https://b6a1d5da.ngrok.io/callcongress/welcome" "TwilioProxy/1.1"
Executing (default): SELECT `id`, `name` FROM `States` AS `State` WHERE `State`.`id` = '3';
Executing (default): SELECT `id`, `name`, `phone`, `StateId` FROM `Senators` AS `Senator` WHERE `Senator`.`StateId` = 3;
::1 - - [14/Dec/2017:02:19:42 +0000] "GET /callcongress/call-senators/3?Called=%2B16023626661&ToState=AZ&CallerCountry=US&Direction=inbound&CallerState=AZ&ToZip=&CallSid=CAaead84c1c3ff10384be63821802e034a&To=%2B16023626661&CallerZip=85705&ToCountry=US&ApiVersion=2010-04-01&CalledZip=&CalledCity=&CallStatus=in-progress&From=%2B15209557880&AccountSid=AC288cfc83e733900245b6fef9162ac4d8&CalledCountry=US&CallerCity=TUCSON&Caller=%2B15209557880&FromCountry=US&ToCity=&FromCity=TUCSON&CalledState=AZ&FromZip=85705&FromState=AZ HTTP/1.1" 200 256 "https://b6a1d5da.ngrok.io/callcongress/set-state" "TwilioProxy/1.1"
Executing (default): SELECT `id`, `name`, `phone`, `StateId` FROM `Senators` AS `Senator` WHERE `Senator`.`id` = '6';
::1 - - [14/Dec/2017:02:20:31 +0000] "POST /callcongress/call-second-senator/6 HTTP/1.1" 200 158 "https://b6a1d5da.ngrok.io/callcongress/call-senators/3?Called=%2B16023626661&ToState=AZ&CallerCountry=US&Direction=inbound&CallerState=AZ&ToZip=&CallSid=CAaead84c1c3ff10384be63821802e034a&To=%2B16023626661&CallerZip=85705&ToCountry=US&ApiVersion=2010-04-01&CalledZip=&CalledCity=&CallStatus=in-progress&From=%2B15209557880&AccountSid=AC288cfc83e733900245b6fef9162ac4d8&CalledCountry=US&CallerCity=TUCSON&Caller=%2B15209557880&FromCountry=US&ToCity=&FromCity=TUCSON&CalledState=AZ&FromZip=85705&FromState=AZ" "TwilioProxy/1.1"
::1 - - [14/Dec/2017:02:21:07 +0000] "POST /callcongress/goodbye/ HTTP/1.1" 200 153 "https://b6a1d5da.ngrok.io/callcongress/call-second-senator/6" "TwilioProxy/1.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment