2

I know PRG pattern (Post- redirect- Get). can we perform same thing in case of PUT operation(put-redirect-get).

cahen
  • 15,807
  • 13
  • 47
  • 78
krutik
  • 119
  • 4
  • 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 Answers1

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