{"action":"created","issue":{"url":"https://api.github.com/repos/anlutro/php-curl/issues/53","repository_url":"https://api.github.com/repos/anlutro/php-curl","labels_url":"https://api.github.com/repos/anlutro/php-curl/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/anlutro/php-curl/issues/53/comments","events_url":"https://api.github.com/repos/anlutro/php-curl/issues/53/events","html_url":"https://github.com/anlutro/php-curl/issues/53","id":233798454,"number":53,"title":"Delete Method not working in Curl","user":{"login":"sharmavikram","id":8896308,"avatar_url":"https://avatars1.githubusercontent.com/u/8896308?v=3","gravatar_id":"","url":"https://api.github.com/users/sharmavikram","html_url":"https://github.com/sharmavikram","followers_url":"https://api.github.com/users/sharmavikram/followers","following_url":"https://api.github.com/users/sharmavikram/following{/other_user}","gists_url":"https://api.github.com/users/sharmavikram/gists{/gist_id}","starred_url":"https://api.github.com/users/sharmavikram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharmavikram/subscriptions","organizations_url":"https://api.github.com/users/sharmavikram/orgs","repos_url":"https://api.github.com/users/sharmavikram/repos","events_url":"https://api.github.com/users/sharmavikram/events{/privacy}","received_events_url":"https://api.github.com/users/sharmavikram/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-06T07:09:46Z","updated_at":"2017-06-11T08:34:57Z","closed_at":"2017-06-11T08:34:57Z","body":"It is a minor changes in cURL.php file. I'm trying to delete information from server. but it is not working because the issue in cUEL.php file.\r\nDelete value is false. \r\n```\r\nprotected $methods = array(\r\n\t\t'get'     => false,\r\n\t\t'post'    => true,\r\n\t\t'put'     => true,\r\n\t\t'patch'   => true,\r\n\t\t'delete'  => false,\r\n\t\t'options' => false,\r\n\t);\r\n```\r\n so please can you change it to true \r\n'delete'  => true,\r\n**Reason**\r\nIn prepareRequest function only accept true method\r\n```\r\nif ($this->methods[$method] === true) {\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/anlutro/php-curl/issues/comments/307614557","html_url":"https://github.com/anlutro/php-curl/issues/53#issuecomment-307614557","issue_url":"https://api.github.com/repos/anlutro/php-curl/issues/53","id":307614557,"user":{"login":"anlutro","id":163093,"avatar_url":"https://avatars3.githubusercontent.com/u/163093?v=3","gravatar_id":"","url":"https://api.github.com/users/anlutro","html_url":"https://github.com/anlutro","followers_url":"https://api.github.com/users/anlutro/followers","following_url":"https://api.github.com/users/anlutro/following{/other_user}","gists_url":"https://api.github.com/users/anlutro/gists{/gist_id}","starred_url":"https://api.github.com/users/anlutro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anlutro/subscriptions","organizations_url":"https://api.github.com/users/anlutro/orgs","repos_url":"https://api.github.com/users/anlutro/repos","events_url":"https://api.github.com/users/anlutro/events{/privacy}","received_events_url":"https://api.github.com/users/anlutro/received_events","type":"User","site_admin":false},"created_at":"2017-06-11T08:34:57Z","updated_at":"2017-06-11T08:34:57Z","body":"Tagged 1.4.4."}}
{"actor":{"display_login":"anlutro"}}