{"action":"closed","issue":{"url":"https://api.github.com/repos/drewm/mailchimp-api/issues/62","labels_url":"https://api.github.com/repos/drewm/mailchimp-api/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/drewm/mailchimp-api/issues/62/comments","events_url":"https://api.github.com/repos/drewm/mailchimp-api/issues/62/events","html_url":"https://github.com/drewm/mailchimp-api/issues/62","id":108762929,"number":62,"title":"API v3 - looks like \"PUT\" request is not handled (required for updating)","user":{"login":"peteclark3","id":3371640,"avatar_url":"https://avatars.githubusercontent.com/u/3371640?v=3","gravatar_id":"","url":"https://api.github.com/users/peteclark3","html_url":"https://github.com/peteclark3","followers_url":"https://api.github.com/users/peteclark3/followers","following_url":"https://api.github.com/users/peteclark3/following{/other_user}","gists_url":"https://api.github.com/users/peteclark3/gists{/gist_id}","starred_url":"https://api.github.com/users/peteclark3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peteclark3/subscriptions","organizations_url":"https://api.github.com/users/peteclark3/orgs","repos_url":"https://api.github.com/users/peteclark3/repos","events_url":"https://api.github.com/users/peteclark3/events{/privacy}","received_events_url":"https://api.github.com/users/peteclark3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-28T22:56:51Z","updated_at":"2015-10-14T15:46:02Z","closed_at":"2015-10-14T15:46:02Z","body":"in MailChimp.php line 82 - no case for \"put\"\r\n\r\n     switch($http_verb) {\r\n                case 'post':\r\n                    curl_setopt($ch, CURLOPT_POST, true);\r\n                    curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data); \r\n                    break;\r\n\r\n                case 'get':\r\n                    $query = http_build_query($args);\r\n                    curl_setopt($ch, CURLOPT_URL, $url.'?'.$query);\r\n                    break;\r\n\r\n                case 'delete':\r\n                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');\r\n                    break;\r\n\r\n                case 'patch':\r\n                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');\r\n                    curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data); \r\n                    break;\r\n            }\r\n\r\n"}}