{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/10318","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/10318/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/10318/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/10318/events","html_url":"https://github.com/yiisoft/yii2/issues/10318","id":120109479,"number":10318,"title":"Deprecated error","user":{"login":"alexweb","id":960052,"avatar_url":"https://avatars.githubusercontent.com/u/960052?v=3","gravatar_id":"","url":"https://api.github.com/users/alexweb","html_url":"https://github.com/alexweb","followers_url":"https://api.github.com/users/alexweb/followers","following_url":"https://api.github.com/users/alexweb/following{/other_user}","gists_url":"https://api.github.com/users/alexweb/gists{/gist_id}","starred_url":"https://api.github.com/users/alexweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexweb/subscriptions","organizations_url":"https://api.github.com/users/alexweb/orgs","repos_url":"https://api.github.com/users/alexweb/repos","events_url":"https://api.github.com/users/alexweb/events{/privacy}","received_events_url":"https://api.github.com/users/alexweb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-03T07:19:48Z","updated_at":"2015-12-03T08:26:22Z","closed_at":null,"body":"Hi, I got the following error when send POST request to yii2 REST API:\r\n```php\r\nDeprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated \r\nand will be removed in a future version. To avoid this warning \r\nset 'always_populate_raw_post_data' to '-1' in php.ini and use \r\nthe php://input stream instead. in Unknown on line 0\r\n```\r\nMy request component configuration:\r\n```php\r\n        'request' => [\r\n            'class' => 'app\\components\\AppRequest',\r\n            'cookieValidationKey' => '4454f6s4d5f6s4d5f4sd6f45ds4df',\r\n            'parsers' => [\r\n                'application/json' => 'yii\\web\\JsonParser',\r\n            ]\r\n        ],\r\n```\r\n\r\nI send application/json POST request in Advanced REST Client \r\n```php\r\n{\r\n\"email\":\"user@example.com\",\r\n\"password\":\"123123\"\r\n}\r\n```\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/161549068","html_url":"https://github.com/yiisoft/yii2/issues/10318#issuecomment-161549068","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/10318","id":161549068,"user":{"login":"arisk","id":1027859,"avatar_url":"https://avatars.githubusercontent.com/u/1027859?v=3","gravatar_id":"","url":"https://api.github.com/users/arisk","html_url":"https://github.com/arisk","followers_url":"https://api.github.com/users/arisk/followers","following_url":"https://api.github.com/users/arisk/following{/other_user}","gists_url":"https://api.github.com/users/arisk/gists{/gist_id}","starred_url":"https://api.github.com/users/arisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arisk/subscriptions","organizations_url":"https://api.github.com/users/arisk/orgs","repos_url":"https://api.github.com/users/arisk/repos","events_url":"https://api.github.com/users/arisk/events{/privacy}","received_events_url":"https://api.github.com/users/arisk/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T08:26:22Z","updated_at":"2015-12-03T08:26:22Z","body":"Should work just fine :-)"}}