PATCH is allowed as a method, succeeds but doesn't do anything
See original GitHub issueI tried using the PATCH
method to update fields on the user model, i.e.
PATCH /api/auth/me HTTP1.1
{
"email": "test@example.com"
}
The response to this query is then the user object with HTTP status 200 but nothing has changed, i.e. a subsequent GET request returns the old value for email
.
Either PATCH
should immediately return 405 or (preferably) it should actually persist the values you pass.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Power Apps Patch Function Error Handling - Matthew Devaney
Error Handling With The ERRORS Function. We only want the Success Screen to show if the new record was successfully created in SharePoint....
Read more >Solved: Check that a ForAll Patch was successful
Solved: Hi, I have an app that patches data from a collection into the CDS. I accomplished that by using a button control....
Read more >Git apply patch fails silently (no errors but nothing happens)
I was pulling my hair out trying to understand why git returns success (status 0) but does not apply patches when I try...
Read more >Power Apps Errors Function when using Patch and other data ...
... with your data source thanks to the PowerApps Error function.Get Power Apps and Power Auto... ... Your browser can 't play this...
Read more >PATCH - HTTP - MDN Web Docs
The HTTP PATCH request method applies partial modifications to a ... a PUT will naturally overwrite it (since it overwrites everything), but ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright, thanks for the input. I’ll look into the issue in more depth this friday.
This ticket received last input more than a year ago and it is very likely that the problem was already solved.