close

Filter

loading table of contents...

Content Application Developer Manual / Version 2307

Table Of Contents

4.3.6.4 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 4.3.6.5, “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
warning

Your Internet Explorer is no longer supported.

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