Skip to content

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