{"action":"created","comment":{"url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/comments/33685877","id":33685877,"diff_hunk":"@@ -1,9 +1,14 @@\n var express = require('express');\n var config = require('konfig')();\n var glob = require('glob');\n+var redis = require('redis');\n+var bodyParser = require('body-parser');\n+var cookieParser = require('cookie-parser');","path":"app.js","position":6,"original_position":6,"commit_id":"48466f12f0917d56bf0342cc0ec55cf189d47506","original_commit_id":"48466f12f0917d56bf0342cc0ec55cf189d47506","user":{"login":"NamespaceValentine","id":10256861,"avatar_url":"https://avatars.githubusercontent.com/u/10256861?v=3","gravatar_id":"","url":"https://api.github.com/users/NamespaceValentine","html_url":"https://github.com/NamespaceValentine","followers_url":"https://api.github.com/users/NamespaceValentine/followers","following_url":"https://api.github.com/users/NamespaceValentine/following{/other_user}","gists_url":"https://api.github.com/users/NamespaceValentine/gists{/gist_id}","starred_url":"https://api.github.com/users/NamespaceValentine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamespaceValentine/subscriptions","organizations_url":"https://api.github.com/users/NamespaceValentine/orgs","repos_url":"https://api.github.com/users/NamespaceValentine/repos","events_url":"https://api.github.com/users/NamespaceValentine/events{/privacy}","received_events_url":"https://api.github.com/users/NamespaceValentine/received_events","type":"User","site_admin":false},"body":"You need to add body-parser and cookie-parser to the dependencies in package.json","created_at":"2015-07-01T14:51:45Z","updated_at":"2015-07-01T14:51:45Z","html_url":"https://github.com/johnschroeder/team-c-api/pull/32#discussion_r33685877","pull_request_url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/comments/33685877"},"html":{"href":"https://github.com/johnschroeder/team-c-api/pull/32#discussion_r33685877"},"pull_request":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32","id":38959440,"html_url":"https://github.com/johnschroeder/team-c-api/pull/32","diff_url":"https://github.com/johnschroeder/team-c-api/pull/32.diff","patch_url":"https://github.com/johnschroeder/team-c-api/pull/32.patch","issue_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues/32","number":32,"state":"open","locked":false,"title":"Im 86","user":{"login":"nehushtan135","id":10067645,"avatar_url":"https://avatars.githubusercontent.com/u/10067645?v=3","gravatar_id":"","url":"https://api.github.com/users/nehushtan135","html_url":"https://github.com/nehushtan135","followers_url":"https://api.github.com/users/nehushtan135/followers","following_url":"https://api.github.com/users/nehushtan135/following{/other_user}","gists_url":"https://api.github.com/users/nehushtan135/gists{/gist_id}","starred_url":"https://api.github.com/users/nehushtan135/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehushtan135/subscriptions","organizations_url":"https://api.github.com/users/nehushtan135/orgs","repos_url":"https://api.github.com/users/nehushtan135/repos","events_url":"https://api.github.com/users/nehushtan135/events{/privacy}","received_events_url":"https://api.github.com/users/nehushtan135/received_events","type":"User","site_admin":false},"body":"To test a route and see if the branch works run this curl command: \r\ncurl -X GET -H \"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\" -H \"User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36\" -H \"Accept-Encoding: gzip, deflate, sdch\" -H \"Accept-Language: en-US,en;q=0.8,ru;q=0.6\" -H \"Cookie: auth=user1;\" -H \"Cache-Control: no-cache\" -H \"Postman-Token: 49613161-d1de-eef9-feba-91aa592033d3\" http://localhost:50001/Carts/GetCartsByUser/don\r\n\r\nand then change auth=user1 to auth=user2 (or have auth= any key you have in your local redis with a corrisponding key, and then change it to something that is not in your redis).\r\n\r\n","created_at":"2015-07-01T08:37:52Z","updated_at":"2015-07-01T14:51:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0537ed388e10c151d021f354fc2801107ac482ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32/commits","review_comments_url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32/comments","review_comment_url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues/32/comments","statuses_url":"https://api.github.com/repos/johnschroeder/team-c-api/statuses/48466f12f0917d56bf0342cc0ec55cf189d47506","head":{"label":"johnschroeder:IM-86","ref":"IM-86","sha":"48466f12f0917d56bf0342cc0ec55cf189d47506","user":{"login":"johnschroeder","id":6404228,"avatar_url":"https://avatars.githubusercontent.com/u/6404228?v=3","gravatar_id":"","url":"https://api.github.com/users/johnschroeder","html_url":"https://github.com/johnschroeder","followers_url":"https://api.github.com/users/johnschroeder/followers","following_url":"https://api.github.com/users/johnschroeder/following{/other_user}","gists_url":"https://api.github.com/users/johnschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/johnschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnschroeder/subscriptions","organizations_url":"https://api.github.com/users/johnschroeder/orgs","repos_url":"https://api.github.com/users/johnschroeder/repos","events_url":"https://api.github.com/users/johnschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/johnschroeder/received_events","type":"User","site_admin":false},"repo":{"id":35451894,"name":"team-c-api","full_name":"johnschroeder/team-c-api","owner":{"login":"johnschroeder","id":6404228,"avatar_url":"https://avatars.githubusercontent.com/u/6404228?v=3","gravatar_id":"","url":"https://api.github.com/users/johnschroeder","html_url":"https://github.com/johnschroeder","followers_url":"https://api.github.com/users/johnschroeder/followers","following_url":"https://api.github.com/users/johnschroeder/following{/other_user}","gists_url":"https://api.github.com/users/johnschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/johnschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnschroeder/subscriptions","organizations_url":"https://api.github.com/users/johnschroeder/orgs","repos_url":"https://api.github.com/users/johnschroeder/repos","events_url":"https://api.github.com/users/johnschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/johnschroeder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnschroeder/team-c-api","description":"API Repo","fork":false,"url":"https://api.github.com/repos/johnschroeder/team-c-api","forks_url":"https://api.github.com/repos/johnschroeder/team-c-api/forks","keys_url":"https://api.github.com/repos/johnschroeder/team-c-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnschroeder/team-c-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnschroeder/team-c-api/teams","hooks_url":"https://api.github.com/repos/johnschroeder/team-c-api/hooks","issue_events_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues/events{/number}","events_url":"https://api.github.com/repos/johnschroeder/team-c-api/events","assignees_url":"https://api.github.com/repos/johnschroeder/team-c-api/assignees{/user}","branches_url":"https://api.github.com/repos/johnschroeder/team-c-api/branches{/branch}","tags_url":"https://api.github.com/repos/johnschroeder/team-c-api/tags","blobs_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnschroeder/team-c-api/statuses/{sha}","languages_url":"https://api.github.com/repos/johnschroeder/team-c-api/languages","stargazers_url":"https://api.github.com/repos/johnschroeder/team-c-api/stargazers","contributors_url":"https://api.github.com/repos/johnschroeder/team-c-api/contributors","subscribers_url":"https://api.github.com/repos/johnschroeder/team-c-api/subscribers","subscription_url":"https://api.github.com/repos/johnschroeder/team-c-api/subscription","commits_url":"https://api.github.com/repos/johnschroeder/team-c-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnschroeder/team-c-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnschroeder/team-c-api/contents/{+path}","compare_url":"https://api.github.com/repos/johnschroeder/team-c-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnschroeder/team-c-api/merges","archive_url":"https://api.github.com/repos/johnschroeder/team-c-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnschroeder/team-c-api/downloads","issues_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues{/number}","pulls_url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls{/number}","milestones_url":"https://api.github.com/repos/johnschroeder/team-c-api/milestones{/number}","notifications_url":"https://api.github.com/repos/johnschroeder/team-c-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnschroeder/team-c-api/labels{/name}","releases_url":"https://api.github.com/repos/johnschroeder/team-c-api/releases{/id}","created_at":"2015-05-11T21:47:00Z","updated_at":"2015-05-11T22:01:21Z","pushed_at":"2015-07-01T08:37:53Z","git_url":"git://github.com/johnschroeder/team-c-api.git","ssh_url":"git@github.com:johnschroeder/team-c-api.git","clone_url":"https://github.com/johnschroeder/team-c-api.git","svn_url":"https://github.com/johnschroeder/team-c-api","homepage":null,"size":684,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"johnschroeder:master","ref":"master","sha":"9a33939ab45f545a26e271009a32d16218f21e22","user":{"login":"johnschroeder","id":6404228,"avatar_url":"https://avatars.githubusercontent.com/u/6404228?v=3","gravatar_id":"","url":"https://api.github.com/users/johnschroeder","html_url":"https://github.com/johnschroeder","followers_url":"https://api.github.com/users/johnschroeder/followers","following_url":"https://api.github.com/users/johnschroeder/following{/other_user}","gists_url":"https://api.github.com/users/johnschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/johnschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnschroeder/subscriptions","organizations_url":"https://api.github.com/users/johnschroeder/orgs","repos_url":"https://api.github.com/users/johnschroeder/repos","events_url":"https://api.github.com/users/johnschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/johnschroeder/received_events","type":"User","site_admin":false},"repo":{"id":35451894,"name":"team-c-api","full_name":"johnschroeder/team-c-api","owner":{"login":"johnschroeder","id":6404228,"avatar_url":"https://avatars.githubusercontent.com/u/6404228?v=3","gravatar_id":"","url":"https://api.github.com/users/johnschroeder","html_url":"https://github.com/johnschroeder","followers_url":"https://api.github.com/users/johnschroeder/followers","following_url":"https://api.github.com/users/johnschroeder/following{/other_user}","gists_url":"https://api.github.com/users/johnschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/johnschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnschroeder/subscriptions","organizations_url":"https://api.github.com/users/johnschroeder/orgs","repos_url":"https://api.github.com/users/johnschroeder/repos","events_url":"https://api.github.com/users/johnschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/johnschroeder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnschroeder/team-c-api","description":"API Repo","fork":false,"url":"https://api.github.com/repos/johnschroeder/team-c-api","forks_url":"https://api.github.com/repos/johnschroeder/team-c-api/forks","keys_url":"https://api.github.com/repos/johnschroeder/team-c-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnschroeder/team-c-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnschroeder/team-c-api/teams","hooks_url":"https://api.github.com/repos/johnschroeder/team-c-api/hooks","issue_events_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues/events{/number}","events_url":"https://api.github.com/repos/johnschroeder/team-c-api/events","assignees_url":"https://api.github.com/repos/johnschroeder/team-c-api/assignees{/user}","branches_url":"https://api.github.com/repos/johnschroeder/team-c-api/branches{/branch}","tags_url":"https://api.github.com/repos/johnschroeder/team-c-api/tags","blobs_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnschroeder/team-c-api/statuses/{sha}","languages_url":"https://api.github.com/repos/johnschroeder/team-c-api/languages","stargazers_url":"https://api.github.com/repos/johnschroeder/team-c-api/stargazers","contributors_url":"https://api.github.com/repos/johnschroeder/team-c-api/contributors","subscribers_url":"https://api.github.com/repos/johnschroeder/team-c-api/subscribers","subscription_url":"https://api.github.com/repos/johnschroeder/team-c-api/subscription","commits_url":"https://api.github.com/repos/johnschroeder/team-c-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnschroeder/team-c-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnschroeder/team-c-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnschroeder/team-c-api/contents/{+path}","compare_url":"https://api.github.com/repos/johnschroeder/team-c-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnschroeder/team-c-api/merges","archive_url":"https://api.github.com/repos/johnschroeder/team-c-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnschroeder/team-c-api/downloads","issues_url":"https://api.github.com/repos/johnschroeder/team-c-api/issues{/number}","pulls_url":"https://api.github.com/repos/johnschroeder/team-c-api/pulls{/number}","milestones_url":"https://api.github.com/repos/johnschroeder/team-c-api/milestones{/number}","notifications_url":"https://api.github.com/repos/johnschroeder/team-c-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnschroeder/team-c-api/labels{/name}","releases_url":"https://api.github.com/repos/johnschroeder/team-c-api/releases{/id}","created_at":"2015-05-11T21:47:00Z","updated_at":"2015-05-11T22:01:21Z","pushed_at":"2015-07-01T08:37:53Z","git_url":"git://github.com/johnschroeder/team-c-api.git","ssh_url":"git@github.com:johnschroeder/team-c-api.git","clone_url":"https://github.com/johnschroeder/team-c-api.git","svn_url":"https://github.com/johnschroeder/team-c-api","homepage":null,"size":684,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32"},"html":{"href":"https://github.com/johnschroeder/team-c-api/pull/32"},"issue":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/issues/32"},"comments":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/johnschroeder/team-c-api/statuses/48466f12f0917d56bf0342cc0ec55cf189d47506"}}}}