-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added API methods. Added DELETE support for curl. #36
base: master
Are you sure you want to change the base?
Conversation
…the worklog comment.
@@ -83,8 +83,8 @@ public function sendRequest($method, $url, $data = array(), $endpoint, Authentic | |||
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data)); | |||
} | |||
} else { | |||
if ($method == "PUT") { | |||
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT"); | |||
if ($method == "PUT" || $method == "DELETE") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead please do like here: https://github.com/chobie/jira-api-restclient/pull/53/files#diff-bac9579c3d575193a096385b414bc909
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already addressed in #76.
Please rebase and solve conflicts. |
No description provided.