{"action":"created","comment":{"url":"https://api.github.com/repos/marmelab/restful.js/pulls/comments/33651874","id":33651874,"diff_hunk":"@@ -202,8 +202,8 @@ export default function endpoint(url, parent) {\n             );\n         },\n \n-        delete(headers) {\n-            var nextConfig = _generateRequestConfig('delete', url, {}, headers);\n+        delete(headers,data) {\n+            var nextConfig = _generateRequestConfig('delete', url, {}, headers,data);","path":"src/model/endpoint.js","position":7,"original_position":7,"commit_id":"c0ed4cbb61fb7d41e06467496fac1923cf0f867f","original_commit_id":"c0ed4cbb61fb7d41e06467496fac1923cf0f867f","user":{"login":"RobinBressan","id":4641116,"avatar_url":"https://avatars.githubusercontent.com/u/4641116?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinBressan","html_url":"https://github.com/RobinBressan","followers_url":"https://api.github.com/users/RobinBressan/followers","following_url":"https://api.github.com/users/RobinBressan/following{/other_user}","gists_url":"https://api.github.com/users/RobinBressan/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinBressan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinBressan/subscriptions","organizations_url":"https://api.github.com/users/RobinBressan/orgs","repos_url":"https://api.github.com/users/RobinBressan/repos","events_url":"https://api.github.com/users/RobinBressan/events{/privacy}","received_events_url":"https://api.github.com/users/RobinBressan/received_events","type":"User","site_admin":false},"body":"CS","created_at":"2015-07-01T06:33:16Z","updated_at":"2015-07-01T06:33:16Z","html_url":"https://github.com/marmelab/restful.js/pull/37#discussion_r33651874","pull_request_url":"https://api.github.com/repos/marmelab/restful.js/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/marmelab/restful.js/pulls/comments/33651874"},"html":{"href":"https://github.com/marmelab/restful.js/pull/37#discussion_r33651874"},"pull_request":{"href":"https://api.github.com/repos/marmelab/restful.js/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/marmelab/restful.js/pulls/37","id":38918815,"html_url":"https://github.com/marmelab/restful.js/pull/37","diff_url":"https://github.com/marmelab/restful.js/pull/37.diff","patch_url":"https://github.com/marmelab/restful.js/pull/37.patch","issue_url":"https://api.github.com/repos/marmelab/restful.js/issues/37","number":37,"state":"open","locked":false,"title":"optional data parameter in delete methods","user":{"login":"bkotyik","id":3392689,"avatar_url":"https://avatars.githubusercontent.com/u/3392689?v=3","gravatar_id":"","url":"https://api.github.com/users/bkotyik","html_url":"https://github.com/bkotyik","followers_url":"https://api.github.com/users/bkotyik/followers","following_url":"https://api.github.com/users/bkotyik/following{/other_user}","gists_url":"https://api.github.com/users/bkotyik/gists{/gist_id}","starred_url":"https://api.github.com/users/bkotyik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkotyik/subscriptions","organizations_url":"https://api.github.com/users/bkotyik/orgs","repos_url":"https://api.github.com/users/bkotyik/repos","events_url":"https://api.github.com/users/bkotyik/events{/privacy}","received_events_url":"https://api.github.com/users/bkotyik/received_events","type":"User","site_admin":false},"body":"I added the ability to pass request body parameter to DELETE requests. Also added two tests and modified the readme according to the changes.","created_at":"2015-06-30T20:09:36Z","updated_at":"2015-07-01T06:33:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bddc74d4ea6eabf8e486c603c229e3573ddad47f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marmelab/restful.js/pulls/37/commits","review_comments_url":"https://api.github.com/repos/marmelab/restful.js/pulls/37/comments","review_comment_url":"https://api.github.com/repos/marmelab/restful.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marmelab/restful.js/issues/37/comments","statuses_url":"https://api.github.com/repos/marmelab/restful.js/statuses/c0ed4cbb61fb7d41e06467496fac1923cf0f867f","head":{"label":"bkotyik:master","ref":"master","sha":"c0ed4cbb61fb7d41e06467496fac1923cf0f867f","user":{"login":"bkotyik","id":3392689,"avatar_url":"https://avatars.githubusercontent.com/u/3392689?v=3","gravatar_id":"","url":"https://api.github.com/users/bkotyik","html_url":"https://github.com/bkotyik","followers_url":"https://api.github.com/users/bkotyik/followers","following_url":"https://api.github.com/users/bkotyik/following{/other_user}","gists_url":"https://api.github.com/users/bkotyik/gists{/gist_id}","starred_url":"https://api.github.com/users/bkotyik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkotyik/subscriptions","organizations_url":"https://api.github.com/users/bkotyik/orgs","repos_url":"https://api.github.com/users/bkotyik/repos","events_url":"https://api.github.com/users/bkotyik/events{/privacy}","received_events_url":"https://api.github.com/users/bkotyik/received_events","type":"User","site_admin":false},"repo":{"id":38315042,"name":"restful.js","full_name":"bkotyik/restful.js","owner":{"login":"bkotyik","id":3392689,"avatar_url":"https://avatars.githubusercontent.com/u/3392689?v=3","gravatar_id":"","url":"https://api.github.com/users/bkotyik","html_url":"https://github.com/bkotyik","followers_url":"https://api.github.com/users/bkotyik/followers","following_url":"https://api.github.com/users/bkotyik/following{/other_user}","gists_url":"https://api.github.com/users/bkotyik/gists{/gist_id}","starred_url":"https://api.github.com/users/bkotyik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkotyik/subscriptions","organizations_url":"https://api.github.com/users/bkotyik/orgs","repos_url":"https://api.github.com/users/bkotyik/repos","events_url":"https://api.github.com/users/bkotyik/events{/privacy}","received_events_url":"https://api.github.com/users/bkotyik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bkotyik/restful.js","description":"A pure JS client for interacting with server-side RESTful resources. Think Restangular without Angular.","fork":true,"url":"https://api.github.com/repos/bkotyik/restful.js","forks_url":"https://api.github.com/repos/bkotyik/restful.js/forks","keys_url":"https://api.github.com/repos/bkotyik/restful.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bkotyik/restful.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bkotyik/restful.js/teams","hooks_url":"https://api.github.com/repos/bkotyik/restful.js/hooks","issue_events_url":"https://api.github.com/repos/bkotyik/restful.js/issues/events{/number}","events_url":"https://api.github.com/repos/bkotyik/restful.js/events","assignees_url":"https://api.github.com/repos/bkotyik/restful.js/assignees{/user}","branches_url":"https://api.github.com/repos/bkotyik/restful.js/branches{/branch}","tags_url":"https://api.github.com/repos/bkotyik/restful.js/tags","blobs_url":"https://api.github.com/repos/bkotyik/restful.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bkotyik/restful.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bkotyik/restful.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bkotyik/restful.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bkotyik/restful.js/statuses/{sha}","languages_url":"https://api.github.com/repos/bkotyik/restful.js/languages","stargazers_url":"https://api.github.com/repos/bkotyik/restful.js/stargazers","contributors_url":"https://api.github.com/repos/bkotyik/restful.js/contributors","subscribers_url":"https://api.github.com/repos/bkotyik/restful.js/subscribers","subscription_url":"https://api.github.com/repos/bkotyik/restful.js/subscription","commits_url":"https://api.github.com/repos/bkotyik/restful.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bkotyik/restful.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bkotyik/restful.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bkotyik/restful.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bkotyik/restful.js/contents/{+path}","compare_url":"https://api.github.com/repos/bkotyik/restful.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bkotyik/restful.js/merges","archive_url":"https://api.github.com/repos/bkotyik/restful.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bkotyik/restful.js/downloads","issues_url":"https://api.github.com/repos/bkotyik/restful.js/issues{/number}","pulls_url":"https://api.github.com/repos/bkotyik/restful.js/pulls{/number}","milestones_url":"https://api.github.com/repos/bkotyik/restful.js/milestones{/number}","notifications_url":"https://api.github.com/repos/bkotyik/restful.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bkotyik/restful.js/labels{/name}","releases_url":"https://api.github.com/repos/bkotyik/restful.js/releases{/id}","created_at":"2015-06-30T14:48:18Z","updated_at":"2015-06-30T14:48:18Z","pushed_at":"2015-06-30T15:56:32Z","git_url":"git://github.com/bkotyik/restful.js.git","ssh_url":"git@github.com:bkotyik/restful.js.git","clone_url":"https://github.com/bkotyik/restful.js.git","svn_url":"https://github.com/bkotyik/restful.js","homepage":null,"size":239,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"marmelab:master","ref":"master","sha":"693f9138bcb7e5de944fb4c468bd388ad80d49fc","user":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"repo":{"id":29588481,"name":"restful.js","full_name":"marmelab/restful.js","owner":{"login":"marmelab","id":3116319,"avatar_url":"https://avatars.githubusercontent.com/u/3116319?v=3","gravatar_id":"","url":"https://api.github.com/users/marmelab","html_url":"https://github.com/marmelab","followers_url":"https://api.github.com/users/marmelab/followers","following_url":"https://api.github.com/users/marmelab/following{/other_user}","gists_url":"https://api.github.com/users/marmelab/gists{/gist_id}","starred_url":"https://api.github.com/users/marmelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmelab/subscriptions","organizations_url":"https://api.github.com/users/marmelab/orgs","repos_url":"https://api.github.com/users/marmelab/repos","events_url":"https://api.github.com/users/marmelab/events{/privacy}","received_events_url":"https://api.github.com/users/marmelab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/marmelab/restful.js","description":"A pure JS client for interacting with server-side RESTful resources. Think Restangular without Angular.","fork":false,"url":"https://api.github.com/repos/marmelab/restful.js","forks_url":"https://api.github.com/repos/marmelab/restful.js/forks","keys_url":"https://api.github.com/repos/marmelab/restful.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marmelab/restful.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marmelab/restful.js/teams","hooks_url":"https://api.github.com/repos/marmelab/restful.js/hooks","issue_events_url":"https://api.github.com/repos/marmelab/restful.js/issues/events{/number}","events_url":"https://api.github.com/repos/marmelab/restful.js/events","assignees_url":"https://api.github.com/repos/marmelab/restful.js/assignees{/user}","branches_url":"https://api.github.com/repos/marmelab/restful.js/branches{/branch}","tags_url":"https://api.github.com/repos/marmelab/restful.js/tags","blobs_url":"https://api.github.com/repos/marmelab/restful.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marmelab/restful.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marmelab/restful.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/marmelab/restful.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marmelab/restful.js/statuses/{sha}","languages_url":"https://api.github.com/repos/marmelab/restful.js/languages","stargazers_url":"https://api.github.com/repos/marmelab/restful.js/stargazers","contributors_url":"https://api.github.com/repos/marmelab/restful.js/contributors","subscribers_url":"https://api.github.com/repos/marmelab/restful.js/subscribers","subscription_url":"https://api.github.com/repos/marmelab/restful.js/subscription","commits_url":"https://api.github.com/repos/marmelab/restful.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/marmelab/restful.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/marmelab/restful.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/marmelab/restful.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/marmelab/restful.js/contents/{+path}","compare_url":"https://api.github.com/repos/marmelab/restful.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marmelab/restful.js/merges","archive_url":"https://api.github.com/repos/marmelab/restful.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marmelab/restful.js/downloads","issues_url":"https://api.github.com/repos/marmelab/restful.js/issues{/number}","pulls_url":"https://api.github.com/repos/marmelab/restful.js/pulls{/number}","milestones_url":"https://api.github.com/repos/marmelab/restful.js/milestones{/number}","notifications_url":"https://api.github.com/repos/marmelab/restful.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marmelab/restful.js/labels{/name}","releases_url":"https://api.github.com/repos/marmelab/restful.js/releases{/id}","created_at":"2015-01-21T12:30:03Z","updated_at":"2015-06-30T05:58:00Z","pushed_at":"2015-07-01T06:24:35Z","git_url":"git://github.com/marmelab/restful.js.git","ssh_url":"git@github.com:marmelab/restful.js.git","clone_url":"https://github.com/marmelab/restful.js.git","svn_url":"https://github.com/marmelab/restful.js","homepage":null,"size":625,"stargazers_count":157,"watchers_count":157,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":11,"forks":15,"open_issues":11,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marmelab/restful.js/pulls/37"},"html":{"href":"https://github.com/marmelab/restful.js/pull/37"},"issue":{"href":"https://api.github.com/repos/marmelab/restful.js/issues/37"},"comments":{"href":"https://api.github.com/repos/marmelab/restful.js/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/marmelab/restful.js/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/marmelab/restful.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marmelab/restful.js/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/marmelab/restful.js/statuses/c0ed4cbb61fb7d41e06467496fac1923cf0f867f"}}}}