I am having a very hard time understanding the exact process of "post/redirect/get".
I have combed through this site and the web for several hours and cannot find anything other than "here's the concept".
How to understand the post/redirect/get pattern?


As you may know from your research,
POST-redirect-GETlooks like this:POSTs to the server.For example, say we have this structure of the website:
/posts(shows a list of posts and a link to "add post")/<id>(view a particular post)/create(if requested with theGETmethod, returns a form posting to itself; if it's aPOSTrequest, creates the post and redirects to the/<id>endpoint)/postsitself isn't really relevant to this particular pattern, so I'll leave it out./posts/<id>might be implemented like this:/posts/createmight be implemented like this:GETrequest:POST.POSTrequest:/posts/<id>(where<id>is returned from the call to the database)