Post Redirect Get pattern and use in a RESTful resource-based service when supporting searching

Posted by AWC on Stack Overflow See other posts from Stack Overflow or by AWC
Published on 2010-03-12T13:55:18Z Indexed on 2010/03/12 13:57 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

If I have a HTTP based RESTful service and I want to POST a search resource and use the PRG pattern for returning the URL to the search-result resource, I have to persist the search-result resource on the server.

Is this a good idea?

If I do persist the search-result resource how long is it persisted for?

Can I control this by a HTTP header of some kind?

Cheers

AWC

© Stack Overflow or respective owner

Related posts about rest

Related posts about restful