{"action":"created","issue":{"url":"https://api.github.com/repos/hhxsv5/laravel-s/issues/21","repository_url":"https://api.github.com/repos/hhxsv5/laravel-s","labels_url":"https://api.github.com/repos/hhxsv5/laravel-s/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/hhxsv5/laravel-s/issues/21/comments","events_url":"https://api.github.com/repos/hhxsv5/laravel-s/issues/21/events","html_url":"https://github.com/hhxsv5/laravel-s/issues/21","id":309211704,"number":21,"title":"POST异步请求头中包含 content-type  \"application/json\"  无法获取到$request->input() 参数","user":{"login":"dynamohuang","id":6149578,"avatar_url":"https://avatars3.githubusercontent.com/u/6149578?v=4","gravatar_id":"","url":"https://api.github.com/users/dynamohuang","html_url":"https://github.com/dynamohuang","followers_url":"https://api.github.com/users/dynamohuang/followers","following_url":"https://api.github.com/users/dynamohuang/following{/other_user}","gists_url":"https://api.github.com/users/dynamohuang/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamohuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamohuang/subscriptions","organizations_url":"https://api.github.com/users/dynamohuang/orgs","repos_url":"https://api.github.com/users/dynamohuang/repos","events_url":"https://api.github.com/users/dynamohuang/events{/privacy}","received_events_url":"https://api.github.com/users/dynamohuang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T03:50:21Z","updated_at":"2018-03-28T04:41:58Z","closed_at":"2018-03-28T04:34:32Z","author_association":"NONE","body":"- 重现curl如下\r\n`curl 'http://discover.vesync.com/api/deal/6'  -H 'Content-Type: application/json;charset=UTF-8'   -d 'a=1&b=2' -X 'POST'`\r\n\r\n- 去掉 -H 'Content-Type: application/json;charset=UTF-8' 就可以获取得到$request->input() \r\n\r\n- 前端采用axios   异步提交  默认带上了这个头信息\r\n\r\n- 用fpm方式laravel框架能够解析获取"},"comment":{"url":"https://api.github.com/repos/hhxsv5/laravel-s/issues/comments/376759479","html_url":"https://github.com/hhxsv5/laravel-s/issues/21#issuecomment-376759479","issue_url":"https://api.github.com/repos/hhxsv5/laravel-s/issues/21","id":376759479,"user":{"login":"hhxsv5","id":7278743,"avatar_url":"https://avatars1.githubusercontent.com/u/7278743?v=4","gravatar_id":"","url":"https://api.github.com/users/hhxsv5","html_url":"https://github.com/hhxsv5","followers_url":"https://api.github.com/users/hhxsv5/followers","following_url":"https://api.github.com/users/hhxsv5/following{/other_user}","gists_url":"https://api.github.com/users/hhxsv5/gists{/gist_id}","starred_url":"https://api.github.com/users/hhxsv5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhxsv5/subscriptions","organizations_url":"https://api.github.com/users/hhxsv5/orgs","repos_url":"https://api.github.com/users/hhxsv5/repos","events_url":"https://api.github.com/users/hhxsv5/events{/privacy}","received_events_url":"https://api.github.com/users/hhxsv5/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T04:41:58Z","updated_at":"2018-03-28T04:41:58Z","author_association":"OWNER","body":"谢谢反馈，`v1.10.9` 已修复。"}}
{"actor":{"display_login":"hhxsv5"}}