---
title: "Echo Handler"
method: POST
path: "/echo"
---

# Echo Handler

`POST /echo`

Debugging endpoint with two distinct modes:
  - `length` < 0: echo what you sent (default)
  - `length` <= `_MAX_GENERATE_LENGTH`: return a zero-filled array of the requested length

There are three different latencies you might want to test:
  - up and down: send a payload and set no length to use the default echo
  - up only: send a payload and use a small value of `length`
  - down only: send no payload and set your desired`length` of response

## Query parameters

- `length` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/lmnt/apis/yapster.md) · [All operations](https://skmtc.net/lmnt/apis/yapster/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lmnt/yapster/versions/f153248e1350/schema)
