{"action":"closed","number":182,"pull_request":{"url":"https://api.github.com/repos/laravel/lumen-framework/pulls/182","id":39753604,"html_url":"https://github.com/laravel/lumen-framework/pull/182","diff_url":"https://github.com/laravel/lumen-framework/pull/182.diff","patch_url":"https://github.com/laravel/lumen-framework/pull/182.patch","issue_url":"https://api.github.com/repos/laravel/lumen-framework/issues/182","number":182,"state":"closed","locked":false,"title":"Add post, put and patch test requests with json payload","user":{"login":"mikemclin","id":1570155,"avatar_url":"https://avatars.githubusercontent.com/u/1570155?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemclin","html_url":"https://github.com/mikemclin","followers_url":"https://api.github.com/users/mikemclin/followers","following_url":"https://api.github.com/users/mikemclin/following{/other_user}","gists_url":"https://api.github.com/users/mikemclin/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemclin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemclin/subscriptions","organizations_url":"https://api.github.com/users/mikemclin/orgs","repos_url":"https://api.github.com/users/mikemclin/repos","events_url":"https://api.github.com/users/mikemclin/events{/privacy}","received_events_url":"https://api.github.com/users/mikemclin/received_events","type":"User","site_admin":false},"body":"I'm using Lumen for an API that accepts JSON payloads. There doesn't appear to be any helpers in the test suite for working with these types of requests.","created_at":"2015-07-11T22:48:41Z","updated_at":"2015-07-12T02:04:52Z","closed_at":"2015-07-12T02:04:52Z","merged_at":null,"merge_commit_sha":"5dd33c1ca6821b6b90f701b58c814fc801365fe1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/lumen-framework/pulls/182/commits","review_comments_url":"https://api.github.com/repos/laravel/lumen-framework/pulls/182/comments","review_comment_url":"https://api.github.com/repos/laravel/lumen-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel/lumen-framework/issues/182/comments","statuses_url":"https://api.github.com/repos/laravel/lumen-framework/statuses/cd23fdd3b50bd92c19377c909fa2137767bed0e3","head":{"label":"mikemclin:json-payload-testing","ref":"json-payload-testing","sha":"cd23fdd3b50bd92c19377c909fa2137767bed0e3","user":{"login":"mikemclin","id":1570155,"avatar_url":"https://avatars.githubusercontent.com/u/1570155?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemclin","html_url":"https://github.com/mikemclin","followers_url":"https://api.github.com/users/mikemclin/followers","following_url":"https://api.github.com/users/mikemclin/following{/other_user}","gists_url":"https://api.github.com/users/mikemclin/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemclin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemclin/subscriptions","organizations_url":"https://api.github.com/users/mikemclin/orgs","repos_url":"https://api.github.com/users/mikemclin/repos","events_url":"https://api.github.com/users/mikemclin/events{/privacy}","received_events_url":"https://api.github.com/users/mikemclin/received_events","type":"User","site_admin":false},"repo":{"id":38942568,"name":"lumen-framework","full_name":"mikemclin/lumen-framework","owner":{"login":"mikemclin","id":1570155,"avatar_url":"https://avatars.githubusercontent.com/u/1570155?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemclin","html_url":"https://github.com/mikemclin","followers_url":"https://api.github.com/users/mikemclin/followers","following_url":"https://api.github.com/users/mikemclin/following{/other_user}","gists_url":"https://api.github.com/users/mikemclin/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemclin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemclin/subscriptions","organizations_url":"https://api.github.com/users/mikemclin/orgs","repos_url":"https://api.github.com/users/mikemclin/repos","events_url":"https://api.github.com/users/mikemclin/events{/privacy}","received_events_url":"https://api.github.com/users/mikemclin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikemclin/lumen-framework","description":"","fork":true,"url":"https://api.github.com/repos/mikemclin/lumen-framework","forks_url":"https://api.github.com/repos/mikemclin/lumen-framework/forks","keys_url":"https://api.github.com/repos/mikemclin/lumen-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikemclin/lumen-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikemclin/lumen-framework/teams","hooks_url":"https://api.github.com/repos/mikemclin/lumen-framework/hooks","issue_events_url":"https://api.github.com/repos/mikemclin/lumen-framework/issues/events{/number}","events_url":"https://api.github.com/repos/mikemclin/lumen-framework/events","assignees_url":"https://api.github.com/repos/mikemclin/lumen-framework/assignees{/user}","branches_url":"https://api.github.com/repos/mikemclin/lumen-framework/branches{/branch}","tags_url":"https://api.github.com/repos/mikemclin/lumen-framework/tags","blobs_url":"https://api.github.com/repos/mikemclin/lumen-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikemclin/lumen-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikemclin/lumen-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikemclin/lumen-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikemclin/lumen-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/mikemclin/lumen-framework/languages","stargazers_url":"https://api.github.com/repos/mikemclin/lumen-framework/stargazers","contributors_url":"https://api.github.com/repos/mikemclin/lumen-framework/contributors","subscribers_url":"https://api.github.com/repos/mikemclin/lumen-framework/subscribers","subscription_url":"https://api.github.com/repos/mikemclin/lumen-framework/subscription","commits_url":"https://api.github.com/repos/mikemclin/lumen-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikemclin/lumen-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikemclin/lumen-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikemclin/lumen-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikemclin/lumen-framework/contents/{+path}","compare_url":"https://api.github.com/repos/mikemclin/lumen-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikemclin/lumen-framework/merges","archive_url":"https://api.github.com/repos/mikemclin/lumen-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikemclin/lumen-framework/downloads","issues_url":"https://api.github.com/repos/mikemclin/lumen-framework/issues{/number}","pulls_url":"https://api.github.com/repos/mikemclin/lumen-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/mikemclin/lumen-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/mikemclin/lumen-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikemclin/lumen-framework/labels{/name}","releases_url":"https://api.github.com/repos/mikemclin/lumen-framework/releases{/id}","created_at":"2015-07-11T22:29:35Z","updated_at":"2015-07-11T22:29:36Z","pushed_at":"2015-07-11T22:45:42Z","git_url":"git://github.com/mikemclin/lumen-framework.git","ssh_url":"git@github.com:mikemclin/lumen-framework.git","clone_url":"https://github.com/mikemclin/lumen-framework.git","svn_url":"https://github.com/mikemclin/lumen-framework","homepage":null,"size":912,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"5.1"}},"base":{"label":"laravel:5.1","ref":"5.1","sha":"b21c5716e286e7ba79fa1a894bfae985a4957a84","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":33903775,"name":"lumen-framework","full_name":"laravel/lumen-framework","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/lumen-framework","description":"","fork":false,"url":"https://api.github.com/repos/laravel/lumen-framework","forks_url":"https://api.github.com/repos/laravel/lumen-framework/forks","keys_url":"https://api.github.com/repos/laravel/lumen-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/lumen-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/lumen-framework/teams","hooks_url":"https://api.github.com/repos/laravel/lumen-framework/hooks","issue_events_url":"https://api.github.com/repos/laravel/lumen-framework/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/lumen-framework/events","assignees_url":"https://api.github.com/repos/laravel/lumen-framework/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/lumen-framework/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/lumen-framework/tags","blobs_url":"https://api.github.com/repos/laravel/lumen-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/lumen-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/lumen-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/lumen-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/lumen-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/lumen-framework/languages","stargazers_url":"https://api.github.com/repos/laravel/lumen-framework/stargazers","contributors_url":"https://api.github.com/repos/laravel/lumen-framework/contributors","subscribers_url":"https://api.github.com/repos/laravel/lumen-framework/subscribers","subscription_url":"https://api.github.com/repos/laravel/lumen-framework/subscription","commits_url":"https://api.github.com/repos/laravel/lumen-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/lumen-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/lumen-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/lumen-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/lumen-framework/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/lumen-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/lumen-framework/merges","archive_url":"https://api.github.com/repos/laravel/lumen-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/lumen-framework/downloads","issues_url":"https://api.github.com/repos/laravel/lumen-framework/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/lumen-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/lumen-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/lumen-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/lumen-framework/labels{/name}","releases_url":"https://api.github.com/repos/laravel/lumen-framework/releases{/id}","created_at":"2015-04-14T01:30:27Z","updated_at":"2015-07-11T11:58:22Z","pushed_at":"2015-07-11T22:48:42Z","git_url":"git://github.com/laravel/lumen-framework.git","ssh_url":"git@github.com:laravel/lumen-framework.git","clone_url":"https://github.com/laravel/lumen-framework.git","svn_url":"https://github.com/laravel/lumen-framework","homepage":null,"size":912,"stargazers_count":301,"watchers_count":301,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":2,"forks":88,"open_issues":2,"watchers":301,"default_branch":"5.1"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/lumen-framework/pulls/182"},"html":{"href":"https://github.com/laravel/lumen-framework/pull/182"},"issue":{"href":"https://api.github.com/repos/laravel/lumen-framework/issues/182"},"comments":{"href":"https://api.github.com/repos/laravel/lumen-framework/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/lumen-framework/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/lumen-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel/lumen-framework/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/lumen-framework/statuses/cd23fdd3b50bd92c19377c909fa2137767bed0e3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":54,"deletions":0,"changed_files":1}}