Post/Redirect/Get

Post/Redirect/Get (PRG) is a web development design pattern that lets the page shown after a form submission be reloaded, shared, or bookmarked without ill effects, such as submitting the form another time. When a web form is submitted to a server through an HTTP POST request, attempts to refresh the server response can cause the contents of the original POST to be resubmitted, possibly causing undesired results, such as a duplicate web purchase.

Source: Wikipedia — Post/Redirect/Get (CC BY-SA 4.0)

Post/Redirect/Get

Post/Redirect/Get (PRG) is a web development design pattern that lets the page shown after a form submission be reloaded, shared, or bookmarked without ill effects, such as submitting the form another time. When a web form is submitted to a server through an HTTP POST request, attempts to refresh the server response can cause the contents of the original POST to be resubmitted, possibly causing undesired results, such as a duplicate web purchase.

This neuron ends here.

Source: Wikipedia "Post/Redirect/Get" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy