Skip to content

Support for DELETE requests in the "CurlClient" class #76

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

Closed
wants to merge 1 commit into from
Closed

Support for DELETE requests in the "CurlClient" class #76

wants to merge 1 commit into from

Conversation

zimmermanj42
Copy link
Contributor

The current CURL implementation does not acknowledge DELETE requests. This fix allows for the HTTP DELETE verb to be used with the CURL wrapper.

However, all DELETE requests return "(bool) false" from within the "Api::api()" function call. It appears that the Api class was not built really with DELETE calls in mind. If the "Api::api()" function specifies how DELETE requests should return, I could also probably fix that as well.

@aik099
Copy link
Member

aik099 commented Mar 29, 2016

That is a valid point and couple of PRs (not merged yet) proves that it's really needed.

Unless the DELETE requests have any POST parameters please change implementation to one from here: https://github.com/chobie/jira-api-restclient/pull/53/files#diff-bac9579c3d575193a096385b414bc909 (this is diff from not yet merged PR).

@aik099 aik099 changed the title Support for DELETE requests in the Curl client implementation. Support for DELETE requests in the Curl client implementation Mar 29, 2016
@aik099 aik099 changed the title Support for DELETE requests in the Curl client implementation Support for DELETE requests in the "CurlClient" class Mar 29, 2016
@aik099
Copy link
Member

aik099 commented May 22, 2016

Please rebase and solve conflicts.

@aik099
Copy link
Member

aik099 commented Jun 29, 2016

Your changes were incorporated into #108. Thank you, @zimmermanj42 .

@aik099
Copy link
Member

aik099 commented Jul 3, 2016

Changes moved to #115.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants