{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/comments/51436072","id":51436072,"diff_hunk":"@@ -105,18 +157,53 @@ JSON.\n ```\n \n ```sh\n-# your answer here\n+curl --request PATCH 7 http://www.example.com/donuts/42 \\\n+--header \"Content-Type: application/json\" \\\n+--data '{\n+    \"name\": \"Krüller\"\n+    \"done\": true\n+}'\n ```\n \n Write an AJAX request to change the donut on the server using JSON.\n \n ```js\n-let changeDonut = /* your answer here */;\n+let changeDonut = function(event) {\n+  event.preventDefault();\n+  $.ajax({\n+    url: 'http://www.example.com/donuts/42',\n+    type: 'PATCH',\n+    data: {\n+      \"name\": \"Krüller\"\n+      'done': true,","path":"diagnostic.md","position":148,"original_position":148,"commit_id":"3ca0116d23700fc26411c66f18aab902dc8ab954","original_commit_id":"3ca0116d23700fc26411c66f18aab902dc8ab954","user":{"login":"J-Weeks","id":10408784,"avatar_url":"https://avatars.githubusercontent.com/u/10408784?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Weeks","html_url":"https://github.com/J-Weeks","followers_url":"https://api.github.com/users/J-Weeks/followers","following_url":"https://api.github.com/users/J-Weeks/following{/other_user}","gists_url":"https://api.github.com/users/J-Weeks/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Weeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Weeks/subscriptions","organizations_url":"https://api.github.com/users/J-Weeks/orgs","repos_url":"https://api.github.com/users/J-Weeks/repos","events_url":"https://api.github.com/users/J-Weeks/events{/privacy}","received_events_url":"https://api.github.com/users/J-Weeks/received_events","type":"User","site_admin":false},"body":"single quotes vs double quotes. This should break but be aware that you are doing it.","created_at":"2016-02-01T15:59:32Z","updated_at":"2016-02-01T15:59:32Z","html_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic/pull/10#discussion_r51436072","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/comments/51436072"},"html":{"href":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic/pull/10#discussion_r51436072"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10","id":57846268,"html_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic/pull/10","diff_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic/pull/10.diff","patch_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic/pull/10.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues/10","number":10,"state":"open","locked":false,"title":"answers answers answers","user":{"login":"kpie89","id":15109317,"avatar_url":"https://avatars.githubusercontent.com/u/15109317?v=3","gravatar_id":"","url":"https://api.github.com/users/kpie89","html_url":"https://github.com/kpie89","followers_url":"https://api.github.com/users/kpie89/followers","following_url":"https://api.github.com/users/kpie89/following{/other_user}","gists_url":"https://api.github.com/users/kpie89/gists{/gist_id}","starred_url":"https://api.github.com/users/kpie89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpie89/subscriptions","organizations_url":"https://api.github.com/users/kpie89/orgs","repos_url":"https://api.github.com/users/kpie89/repos","events_url":"https://api.github.com/users/kpie89/events{/privacy}","received_events_url":"https://api.github.com/users/kpie89/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-01T14:29:14Z","updated_at":"2016-02-01T15:59:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4cfe656004d7742ed2d012c338cefcdc8ee0882c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues/10/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/statuses/3ca0116d23700fc26411c66f18aab902dc8ab954","head":{"label":"kpie89:response","ref":"response","sha":"3ca0116d23700fc26411c66f18aab902dc8ab954","user":{"login":"kpie89","id":15109317,"avatar_url":"https://avatars.githubusercontent.com/u/15109317?v=3","gravatar_id":"","url":"https://api.github.com/users/kpie89","html_url":"https://github.com/kpie89","followers_url":"https://api.github.com/users/kpie89/followers","following_url":"https://api.github.com/users/kpie89/following{/other_user}","gists_url":"https://api.github.com/users/kpie89/gists{/gist_id}","starred_url":"https://api.github.com/users/kpie89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpie89/subscriptions","organizations_url":"https://api.github.com/users/kpie89/orgs","repos_url":"https://api.github.com/users/kpie89/repos","events_url":"https://api.github.com/users/kpie89/events{/privacy}","received_events_url":"https://api.github.com/users/kpie89/received_events","type":"User","site_admin":false},"repo":{"id":50842961,"name":"jquery-ajax-diagnostic","full_name":"kpie89/jquery-ajax-diagnostic","owner":{"login":"kpie89","id":15109317,"avatar_url":"https://avatars.githubusercontent.com/u/15109317?v=3","gravatar_id":"","url":"https://api.github.com/users/kpie89","html_url":"https://github.com/kpie89","followers_url":"https://api.github.com/users/kpie89/followers","following_url":"https://api.github.com/users/kpie89/following{/other_user}","gists_url":"https://api.github.com/users/kpie89/gists{/gist_id}","starred_url":"https://api.github.com/users/kpie89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpie89/subscriptions","organizations_url":"https://api.github.com/users/kpie89/orgs","repos_url":"https://api.github.com/users/kpie89/repos","events_url":"https://api.github.com/users/kpie89/events{/privacy}","received_events_url":"https://api.github.com/users/kpie89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kpie89/jquery-ajax-diagnostic","description":"","fork":true,"url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic","forks_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/forks","keys_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/teams","hooks_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/hooks","issue_events_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/issues/events{/number}","events_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/events","assignees_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/assignees{/user}","branches_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/branches{/branch}","tags_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/tags","blobs_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/git/refs{/sha}","trees_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/statuses/{sha}","languages_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/languages","stargazers_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/stargazers","contributors_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/contributors","subscribers_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/subscribers","subscription_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/subscription","commits_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/commits{/sha}","git_commits_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/git/commits{/sha}","comments_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/comments{/number}","issue_comment_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/issues/comments{/number}","contents_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/contents/{+path}","compare_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/merges","archive_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/downloads","issues_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/issues{/number}","pulls_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/pulls{/number}","milestones_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/milestones{/number}","notifications_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/labels{/name}","releases_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/releases{/id}","deployments_url":"https://api.github.com/repos/kpie89/jquery-ajax-diagnostic/deployments","created_at":"2016-02-01T13:59:53Z","updated_at":"2016-02-01T13:22:55Z","pushed_at":"2016-02-01T14:28:58Z","git_url":"git://github.com/kpie89/jquery-ajax-diagnostic.git","ssh_url":"git@github.com:kpie89/jquery-ajax-diagnostic.git","clone_url":"https://github.com/kpie89/jquery-ajax-diagnostic.git","svn_url":"https://github.com/kpie89/jquery-ajax-diagnostic","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-wdi-boston:master","ref":"master","sha":"6f84a2df61bf352d1404a81f8ce904633bb4e583","user":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"repo":{"id":50840816,"name":"jquery-ajax-diagnostic","full_name":"ga-wdi-boston/jquery-ajax-diagnostic","owner":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic","description":"","fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic","forks_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/deployments","created_at":"2016-02-01T13:22:55Z","updated_at":"2016-02-01T13:22:55Z","pushed_at":"2016-02-01T15:32:51Z","git_url":"git://github.com/ga-wdi-boston/jquery-ajax-diagnostic.git","ssh_url":"git@github.com:ga-wdi-boston/jquery-ajax-diagnostic.git","clone_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic.git","svn_url":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":8,"forks":17,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10"},"html":{"href":"https://github.com/ga-wdi-boston/jquery-ajax-diagnostic/pull/10"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues/10"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/jquery-ajax-diagnostic/statuses/3ca0116d23700fc26411c66f18aab902dc8ab954"}}}}