# Create a note

Echoes a note sent as JSON. httpbin keeps nothing, so the note is only in the response.

`POST /anything/notes`

## Servers

- `https://httpbin.org`

## Request Body

Required.

- `application/json`: `CreateNoteRequestBody`

```ts
export type CreateNoteRequestBody = Note;

export interface Note {
  /** The title of the note. */
  title: string;

  /** @default false */
  done?: boolean;
}
```

## Responses

### 200

The request, with the note in `json`.

- `application/json`: `CreateNoteResponse200`

### Types

```ts
export type CreateNoteResponse200 = Echo & {
  json?: Note;
};

export interface Echo {
  /** The query parameters. */
  args: Record<string, string>;

  /** The headers of the request. */
  headers: Record<string, string>;

  /** The IP address of the client. */
  origin: string;
  url: string;
}

export interface Note {
  /** The title of the note. */
  title: string;

  /** @default false */
  done?: boolean;
}
```
