---
title: "Primes a scenario such that when an options request is made, no response is received."
method: POST
path: "/prime/{clusterId}#(fail heartbeats, options request with no response)"
tags: ["prime"]
---

# Primes a scenario such that when an options request is made, no response is received.

`POST /prime/{clusterId}#(fail heartbeats, options request with no response)`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/prime/{clusterId}#(fail heartbeats, options request with no response)`
- Auth: none declared

## Path parameters

- `clusterId` string, required

## Request body

- PrimeOptions
  - `when` Options, required
    - `request` string
  - `then` Then
    - `result` string, required
    - `delay_in_ms` integer, required: Adds delay to send response back to client.
    - `ignore_on_prepare` boolean: Whether or not this result be applied to a matching prepare statement. If not specified, defaults to true (does not apply) and applies to the execution of statements tied to that prepared statement.

## Response `201`

PrimedQuery

- PrimeOptions
  - `when` Options, required
    - `request` string
  - `then` Then
    - `result` string, required
    - `delay_in_ms` integer, required: Adds delay to send response back to client.
    - `ignore_on_prepare` boolean: Whether or not this result be applied to a matching prepare statement. If not specified, defaults to true (does not apply) and applies to the execution of statements tied to that prepared statement.

## Other responses

- `400`: Unable to parse provided query

## Changes

- **2017-07-21** `fb9ff336c556`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/datastax/apis/simulacron-rest-api/changes/prime/:clusterId%23%28fail%20heartbeats,%20options%20request%20with%20no%20response%29/post.md)

---

[API](https://skmtc.dev/datastax/apis/simulacron-rest-api.md) - [All operations](https://skmtc.dev/datastax/apis/simulacron-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datastax/apis/simulacron-rest-api/revisions/0a5cd5c466d5?raw)
