---
title: "Forwards tryout tool requests to corresponding api."
method: POST
path: "/api/v1/tryout"
tags: ["tryout"]
---

# Forwards tryout tool requests to corresponding api.

`POST /api/v1/tryout`

Forward request to ext-link endpoint.

## Headers

- `x-posti-ext-authentication` string, required

## Cookies

- `Session` string, nullable

## Request body

- TryOutRequest — Tryout request.
  - `method` 'GET' | 'POST' | 'DELETE' | 'PATCH' | 'PUT' — Method.
  - `targetName` string, required — Target name.
  - `payload` string, base64, nullable — base64 encoded json payload.
  - `resource` string, required — Resource path.
  - `queryParameters` TryOutCustomAttribute[], nullable — Query parameters.
    - `key` string, required — Key.
    - `value` string, nullable — Value
  - `headers` TryOutCustomAttribute[], nullable — Headers.
    - `key` string, required — Key.
    - `value` string, nullable — Value
  - `cookies` TryOutCustomAttribute[], nullable — Cookies.
    - `key` string, required — Key.
    - `value` string, nullable — Value

## Response `200`

Successful Response

- TryOutResponse — Tryout response.
  - `payload` string, base64, required — base64 encoded json payload.
  - `requestUrl` string, uri, required — Request url.
  - `statusCode` integer, required — Http status code for response.
  - `headers` TryOutCustomAttribute[], nullable — Headers.
    - `key` string, required — Key.
    - `value` string, nullable — Value
  - `cookies` TryOutCustomAttribute[], nullable — Cookies.
    - `key` string, required — Key.
    - `value` string, nullable — Value

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/posti/apis/posti-developer-portal-backend-rest-api.md) · [All operations](https://skmtc.dev/posti/apis/posti-developer-portal-backend-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/posti/posti-developer-portal-backend-rest-api/revisions/4b67dce32742/schema)
