Skip to content

[doc] REST.pm: Swap POST and PUT to match descriptions #29

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

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

rwp0
Copy link

@rwp0 rwp0 commented Mar 24, 2024

POST creates, PUT updates with HTTP

In the examples PUT is (rightfully) used for editing:

$jira->PUT("/issue/@{[$opt->issue]}", undef, $data);

`POST` creates, `PUT` updates with HTTP

In the examples `PUT` is (rightfully) used for editing:

https://github.com/gnustavo/JIRA-REST/blob/5de3eb67533868dbe821795a0bde2268b2cee0cf/examples/edit_issue.pl#L50
@rwp0 rwp0 changed the title REST.pm: Swap POST and PUT [doc] REST.pm: Swap POST and PUT to match descriptions Mar 24, 2024
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.

1 participant