---
title: POST Data Storage Directory
description: The local directory where the agent writes preserved POST data while it requests authorization from AM.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:org.forgerock.agents.config.postdata.preserve.dir
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/org.forgerock.agents.config.postdata.preserve.dir.html
---

# POST Data Storage Directory

The local directory where the agent writes preserved POST data while it requests authorization from AM.

If you change this directory, make sure the new directory has the correct read/write permissions for the ID that the server uses.

Default: `/web_agents/agent_type/pdp-cache`

|                    |                                                                                   |
| ------------------ | --------------------------------------------------------------------------------- |
| Property name      | `org.forgerock.agents.config.postdata.preserve.dir`   Introduced in Web Agent 4.x |
| Function           | POST data preservation                                                            |
| Type               | String                                                                            |
| Bootstrap property | Yes                                                                               |
| Required property  | No                                                                                |
| Restart required   | No                                                                                |
