{"id":586,"date":"2005-07-18T00:00:00","date_gmt":"2005-07-17T22:00:00","guid":{"rendered":"https:\/\/wwwneu.strehle.de\/tim\/weblog\/archives\/2005\/07\/18\/521\/"},"modified":"2005-07-18T00:00:00","modified_gmt":"2005-07-17T22:00:00","slug":"521","status":"publish","type":"post","link":"https:\/\/www.strehle.de\/tim\/weblog\/archives\/2005\/07\/18\/521\/","title":{"rendered":"Redirect After Post"},"content":{"rendered":"<p>Michael Jouravlev at TheServerSide.com &#8211; <a href=\"http:\/\/www.theserverside.com\/articles\/article.tss?l=RedirectAfterPost\" title=\"TheServerSide.com - Redirect After Post\">Redirect After Post<\/a>:<\/p>\n<p>&#8220; PRG pattern can be rephrased like this:<\/p>\n<p>Never show pages in response to POST Always load pages using GET Navigate from POST to GET using REDIRECT<\/p>\n<p>Repeat these lines before going to bed.<\/p>\n<p>[&#8230;] Web applications should be resource-centric. They can attain greater presentation flexibility instead of fixating on delivering a particular page. Browser should request from a server a resource, a business entity, not a page. Depending on resource availability and state server would generate different presentation for that resource. It can be a regular &#8222;read-only&#8220; web page, or a form with input controls, or a message that resource is not available or it was permanently removed. Think in terms of resources, not pages.&#8220;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Michael Jouravlev at TheServerSide.com &#8211; Redirect After Post: &#8220; PRG pattern can be rephrased like this: Never show pages in response to POST Always load pages using GET Navigate from POST to GET using REDIRECT Repeat these lines before going to bed. [&#8230;] Web applications should be resource-centric. They can attain greater presentation flexibility instead [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[1],"tags":[],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","category-weblog"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":0,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}