{"action":"created","issue":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/1115","labels_url":"https://api.github.com/repos/guzzle/guzzle/issues/1115/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/1115/comments","events_url":"https://api.github.com/repos/guzzle/guzzle/issues/1115/events","html_url":"https://github.com/guzzle/guzzle/issues/1115","id":86199488,"number":1115,"title":"[v6] No method is configured to handle the form_params config key","user":{"login":"ignasbernotas","id":402965,"avatar_url":"https://avatars.githubusercontent.com/u/402965?v=3","gravatar_id":"","url":"https://api.github.com/users/ignasbernotas","html_url":"https://github.com/ignasbernotas","followers_url":"https://api.github.com/users/ignasbernotas/followers","following_url":"https://api.github.com/users/ignasbernotas/following{/other_user}","gists_url":"https://api.github.com/users/ignasbernotas/gists{/gist_id}","starred_url":"https://api.github.com/users/ignasbernotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignasbernotas/subscriptions","organizations_url":"https://api.github.com/users/ignasbernotas/orgs","repos_url":"https://api.github.com/users/ignasbernotas/repos","events_url":"https://api.github.com/users/ignasbernotas/events{/privacy}","received_events_url":"https://api.github.com/users/ignasbernotas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-08T14:31:52Z","updated_at":"2015-07-16T20:13:47Z","closed_at":"2015-06-10T01:00:07Z","body":"I'm trying to send a simple POST request, but this exception gets thrown:\r\n```\r\nInvalidArgumentException in MessageFactory.php line 185:\r\nNo method is configured to handle the form_params config key\r\n```\r\nMy code:\r\n```php\r\n$client = new \\GuzzleHttp\\Client();\r\n$client->setDefaultOption('verify', false);\r\n$response = $client->post(config('api.url'), [\r\n    'form_params' =>  [\r\n        'credential_0' => 'xxx',\r\n        'credential_1' => 'xxx'\r\n    ]\r\n]);\r\n```"},"comment":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/comments/122075850","html_url":"https://github.com/guzzle/guzzle/issues/1115#issuecomment-122075850","issue_url":"https://api.github.com/repos/guzzle/guzzle/issues/1115","id":122075850,"user":{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T20:13:47Z","updated_at":"2015-07-16T20:13:47Z","body":"Sorry. It's a major version bump so it's expected you'll need to make changes to upgrade. body allowing an array is ambiguous as to how you want the POST body formatted."}}