# jsonplaceholder.typicode.com / create_post

The create_post action on jsonplaceholder.typicode.com: inputs, outputs, risk and measured reliability.

Create a post on the public test blog api. The api accepts writes and discards them.

Risk class: write. Auth: none. Idempotency: never retried blindly. Rate hint: 10 per minute.

## input

| field | type | required | description |
|---|---|---|---|
| `body` | string | yes | n/a |
| `title` | string | yes | n/a |

## output

| field | type | required | description |
|---|---|---|---|
| `id` | integer | yes | n/a |

## preconditions

None declared.

## postconditions

A run counts as succeeded only when every postcondition passes.

- field_present (path "id")

## run it

```bash
orsel act jsonplaceholder.typicode.com create_post --input '{}'
```

```ts
const run = await orsel.act({ domain: "jsonplaceholder.typicode.com", actionId: "create_post", input: {} }, { wait: true });
```

The default policy stops this action until a person approves it.

## reliability

No runs recorded yet, so there is no reliability to show.

Back to [jsonplaceholder.typicode.com](/sites/jsonplaceholder.typicode.com).
