loading table of contents...

Content Application Developer Manual / Version 2310

Table Of Contents Handling POST requests

When handling POST requests, these steps should be done in the handler method:

  1. Consume POST data

  2. Update application state (for example update external database, send data to external service, ...)

  3. Send a 302 "moved temporarily" response and redirect to the page the request came from so that a page reload won't change the application state again. See Section, “Handling redirects”

  4. If needed, status information can be transferred from the handler to the following (redirected) request using flash attributes, see Section, “Preserving attributes in a redirect”

Search Results

Table Of Contents

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.