{"action":"created","issue":{"url":"https://api.github.com/repos/mevdschee/php-crud-api/issues/166","repository_url":"https://api.github.com/repos/mevdschee/php-crud-api","labels_url":"https://api.github.com/repos/mevdschee/php-crud-api/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/mevdschee/php-crud-api/issues/166/comments","events_url":"https://api.github.com/repos/mevdschee/php-crud-api/issues/166/events","html_url":"https://github.com/mevdschee/php-crud-api/issues/166","id":202199582,"number":166,"title":"Check if have the key and value.","user":{"login":"andykenobi","id":3136000,"avatar_url":"https://avatars.githubusercontent.com/u/3136000?v=3","gravatar_id":"","url":"https://api.github.com/users/andykenobi","html_url":"https://github.com/andykenobi","followers_url":"https://api.github.com/users/andykenobi/followers","following_url":"https://api.github.com/users/andykenobi/following{/other_user}","gists_url":"https://api.github.com/users/andykenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/andykenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andykenobi/subscriptions","organizations_url":"https://api.github.com/users/andykenobi/orgs","repos_url":"https://api.github.com/users/andykenobi/repos","events_url":"https://api.github.com/users/andykenobi/events{/privacy}","received_events_url":"https://api.github.com/users/andykenobi/received_events","type":"User","site_admin":false},"labels":[{"id":175489583,"url":"https://api.github.com/repos/mevdschee/php-crud-api/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":{"login":"mevdschee","id":1288217,"avatar_url":"https://avatars.githubusercontent.com/u/1288217?v=3","gravatar_id":"","url":"https://api.github.com/users/mevdschee","html_url":"https://github.com/mevdschee","followers_url":"https://api.github.com/users/mevdschee/followers","following_url":"https://api.github.com/users/mevdschee/following{/other_user}","gists_url":"https://api.github.com/users/mevdschee/gists{/gist_id}","starred_url":"https://api.github.com/users/mevdschee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mevdschee/subscriptions","organizations_url":"https://api.github.com/users/mevdschee/orgs","repos_url":"https://api.github.com/users/mevdschee/repos","events_url":"https://api.github.com/users/mevdschee/events{/privacy}","received_events_url":"https://api.github.com/users/mevdschee/received_events","type":"User","site_admin":false},"assignees":[{"login":"mevdschee","id":1288217,"avatar_url":"https://avatars.githubusercontent.com/u/1288217?v=3","gravatar_id":"","url":"https://api.github.com/users/mevdschee","html_url":"https://github.com/mevdschee","followers_url":"https://api.github.com/users/mevdschee/followers","following_url":"https://api.github.com/users/mevdschee/following{/other_user}","gists_url":"https://api.github.com/users/mevdschee/gists{/gist_id}","starred_url":"https://api.github.com/users/mevdschee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mevdschee/subscriptions","organizations_url":"https://api.github.com/users/mevdschee/orgs","repos_url":"https://api.github.com/users/mevdschee/repos","events_url":"https://api.github.com/users/mevdschee/events{/privacy}","received_events_url":"https://api.github.com/users/mevdschee/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2017-01-20T17:39:05Z","updated_at":"2017-01-24T18:53:44Z","closed_at":"2017-01-24T18:53:44Z","body":"When i call a POST... I set a JSON like this:\r\n{\r\n   \"value\": \"test\"\r\n}\r\n\r\nBut i want to check if the JSON have a \"user_id\" key, if not, i want to set a value to \"user_id\" key or get an error.\r\n\r\nCan i do this?"},"comment":{"url":"https://api.github.com/repos/mevdschee/php-crud-api/issues/comments/274899470","html_url":"https://github.com/mevdschee/php-crud-api/issues/166#issuecomment-274899470","issue_url":"https://api.github.com/repos/mevdschee/php-crud-api/issues/166","id":274899470,"user":{"login":"mevdschee","id":1288217,"avatar_url":"https://avatars.githubusercontent.com/u/1288217?v=3","gravatar_id":"","url":"https://api.github.com/users/mevdschee","html_url":"https://github.com/mevdschee","followers_url":"https://api.github.com/users/mevdschee/followers","following_url":"https://api.github.com/users/mevdschee/following{/other_user}","gists_url":"https://api.github.com/users/mevdschee/gists{/gist_id}","starred_url":"https://api.github.com/users/mevdschee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mevdschee/subscriptions","organizations_url":"https://api.github.com/users/mevdschee/orgs","repos_url":"https://api.github.com/users/mevdschee/repos","events_url":"https://api.github.com/users/mevdschee/events{/privacy}","received_events_url":"https://api.github.com/users/mevdschee/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T18:53:44Z","updated_at":"2017-01-24T18:53:44Z","body":"Closed due to inactivity"}}
{"actor":{"display_login":"mevdschee"}}