Skip to content
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

Add id to PUT requests. #14251

Merged
merged 5 commits into from
Mar 9, 2021
Merged

Add id to PUT requests. #14251

merged 5 commits into from
Mar 9, 2021

Conversation

mshima
Copy link
Member

@mshima mshima commented Mar 9, 2021

Closes #14139.

This PR changes PUT requests to require id in the Url to match GET requests.
Following discussions of HTTP specification.


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@mshima
Copy link
Member Author

mshima commented Mar 9, 2021

@pascalgrimaud do you think we should keep backward compatibility with PUT without id?

@pascalgrimaud
Copy link
Member

@mshima : IMO, no need

Copy link
Member

@pascalgrimaud pascalgrimaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the change in gatling tests

@mshima
Copy link
Member Author

mshima commented Mar 9, 2021

🤔 there are no PUT tests in Gatling.

@pascalgrimaud
Copy link
Member

Oh my bad, so forget my comment ahaha

@pascalgrimaud pascalgrimaud merged commit b3096f8 into jhipster:main Mar 9, 2021
@mshima
Copy link
Member Author

mshima commented Mar 9, 2021

@pascalgrimaud no problem I will try to add.

@mshima mshima deleted the skip_ci_put branch March 9, 2021 18:42
@pascalgrimaud
Copy link
Member

I don't think it is needed as @atomfrede is working on gatling. My comment was to not forget this part in case of it is used.

@pascalgrimaud pascalgrimaud added this to the v7.0.0 milestone Mar 10, 2021
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.

Current PUT method doesn't follows HTTP specification.
2 participants