HTTP Keyvals
Method POST

Add a key-value pair to the HTTP keyval zone

Adds a new key-value pair to the HTTP keyval shared memory zone. Several key-value pairs can be entered if the HTTP keyval shared memory zone is empty.

post/http/keyvals/{httpKeyvalZoneName}

Request body

NginxHTTPKeyvalZonePostPatch required

Contents of an HTTP keyval shared memory zone when using the POST or PATCH methods.

Example request

{
  "key1": "value1",
  "key2": "value2",
  "key3": {
    "value": "value3",
    "expire": 30000
  }
}

Response

Created

Changes

No recorded changes to this endpoint across all 1 revision of this API.