---
title: "The \"/record/commit\" route"
manual: "TYPO3 Explained"
version: "12.4"
permalink: "https://docs.typo3.org/permalink/t3coreapi:record-commit-route@12.4"
source: "ApiOverview/DataHandler/TceDb/Index.rst"
rendered: "2026-10-21T15:29:37+00:00"
---

> [!WARNING]
> **Attention**
>
> TYPO3 v12 has reached end-of-life as of April 30th 2026 and
> is no longer being maintained. Use the version switcher on the top
> left of this page to select documentation for a supported version of TYPO3.
>
> Need more time before upgrading?
> You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here:
> [TYPO3 ELTS](https://typo3.com/services/extended-support-elts).

<a id="tce-db-api"></a>

# The "/record/commit" route {#record-commit-route}

This route is a gateway for posting form data to the
`\TYPO3\CMS\Backend\Controller\SimpleDataHandlerController`.

You can send data to this file either as GET or POST vars where POST
takes precedence. The variable names you can use are:

-   **data**

    -   *Data type:* array

    Data array on the form `[tablename][uid][fieldname] = value`.

    Typically it comes from a POST form which submits a form field like
    `<input name="data[tt_content][123][header]" value="This is the
    headline">`.

-   **cmd**

    -   *Data type:* array

    Command array on the form `[tablename][uid][command] = value`. This
    array may get additional data set internally based on clipboard
    commands send in [CB](https://docs.typo3.org/permalink/t3coreapi:confval-datahandler-commit-cb@12.4) var!

    Typically this comes from GET vars passed to the script like
    `&cmd[tt_content][123][delete]=1` which will delete the content
    element with UID 123.

-   **cacheCmd**

    -   *Data type:* string

    Cache command sent to `DataHandler->clear_cacheCmd()`.

-   **redirect**

    -   *Data type:* string

    Redirect URL. The script will redirect to this location after performing
    operations (unless errors has occurred).

-   **flags**

    -   *Data type:* array

    Accepts options to be set in DataHandler object. Currently, it supports
    "reverseOrder" (boolean).

-   **mirror**

    -   *Data type:* array

    Example: `[mirror][table][11] = '22,33'` will look for content in
    `[data][table][11]` and copy it to `[data][table][22]` and
    `[data][table][33]`.

-   **CB**

    -   *Data type:* array

    Clipboard command array. May trigger changes in "cmd".

-   **vC**

    -   *Data type:* string

    Verification code.
