---
title: "POST /news/preview"
method: POST
path: "/news/preview"
---

# POST /news/preview

`POST /news/preview`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/news/preview`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/news/preview/post.ts> (a function with typed inputs; its response is checked against the schema)

Preview a news article

## Request body `*/*`

- object
  - `body` string, required: The entry's body
  - `vars` unknown[]: A list of key/value pairs for variable replacement in the body text
    - unknown

## Response `201`

Successful entry preparation

---

[API](https://skmtc.dev/purdue/apis/rcac-api.md) - [All operations](https://skmtc.dev/purdue/apis/rcac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/purdue/apis/rcac-api/revisions/b6b910de69b0?raw)
