{"action":"closed","issue":{"url":"https://api.github.com/repos/Trustworthy-Hair/partyof4/issues/78","labels_url":"https://api.github.com/repos/Trustworthy-Hair/partyof4/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/Trustworthy-Hair/partyof4/issues/78/comments","events_url":"https://api.github.com/repos/Trustworthy-Hair/partyof4/issues/78/events","html_url":"https://github.com/Trustworthy-Hair/partyof4/issues/78","id":104991822,"number":78,"title":"Figure out how user data is passing from client to server","user":{"login":"shelleywang","id":3450699,"avatar_url":"https://avatars.githubusercontent.com/u/3450699?v=3","gravatar_id":"","url":"https://api.github.com/users/shelleywang","html_url":"https://github.com/shelleywang","followers_url":"https://api.github.com/users/shelleywang/followers","following_url":"https://api.github.com/users/shelleywang/following{/other_user}","gists_url":"https://api.github.com/users/shelleywang/gists{/gist_id}","starred_url":"https://api.github.com/users/shelleywang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelleywang/subscriptions","organizations_url":"https://api.github.com/users/shelleywang/orgs","repos_url":"https://api.github.com/users/shelleywang/repos","events_url":"https://api.github.com/users/shelleywang/events{/privacy}","received_events_url":"https://api.github.com/users/shelleywang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Trustworthy-Hair/partyof4/labels/ready","name":"ready","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"shelleywang","id":3450699,"avatar_url":"https://avatars.githubusercontent.com/u/3450699?v=3","gravatar_id":"","url":"https://api.github.com/users/shelleywang","html_url":"https://github.com/shelleywang","followers_url":"https://api.github.com/users/shelleywang/followers","following_url":"https://api.github.com/users/shelleywang/following{/other_user}","gists_url":"https://api.github.com/users/shelleywang/gists{/gist_id}","starred_url":"https://api.github.com/users/shelleywang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelleywang/subscriptions","organizations_url":"https://api.github.com/users/shelleywang/orgs","repos_url":"https://api.github.com/users/shelleywang/repos","events_url":"https://api.github.com/users/shelleywang/events{/privacy}","received_events_url":"https://api.github.com/users/shelleywang/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-09-05T00:34:35Z","updated_at":"2015-09-05T23:34:32Z","closed_at":"2015-09-05T23:34:32Z","body":"I think we're using tokens? \n\nBut there should be information about the client making the API request. \n\nFor example, POST /users/:id/reviews. There should be some way of telling who is writing the review (cookie on the header of the request from the client, token lookup table, etc...)\n\nWe'll also need to restrict API requests in middleware so that you can only access everything once you're logged in\n\nReference: http://www.sitepoint.com/using-json-web-tokens-node-js/"}}