I know PRG pattern (Post- redirect- Get). can we perform same thing in case of PUT operation(put-redirect-get).
Asked
Active
Viewed 102 times
2
-
This quiestion I have asked for same purpose : http://stackoverflow.com/questions/32120501/405-error-code-while-calling-from-jersey-rest-client – krutik Aug 24 '15 at 14:09
-
Please refer this question: – krutik Aug 26 '15 at 06:23
-
http://stackoverflow.com/questions/32120501/405-error-code-while-calling-from-jersey-rest-client ---- Refer this link for nerrowing down – krutik Aug 26 '15 at 06:24
1 Answers
2
There is no point of having a Put-Redirect-Get. PUT already target the endpoint of the resource that is being replace.
The purpose of PRG is to avoid duplication which should never happen with PUT.

mathk
- 7,973
- 6
- 45
- 74
-
However, if I want to perform the operation, is ther any way to perform it? – krutik Aug 24 '15 at 14:08
-
Why do you want to redirect the client? It give the filling that you are not using PUT properly. – mathk Aug 24 '15 at 14:11