---
title: "Create a custom JSON response URL"
method: POST
path: "/c/generate"
tags: ["Custom Response"]
---

# Create a custom JSON response URL

`POST /c/generate`

## Request

- Base URL: `https://dummyjson.com`
- URL: `https://dummyjson.com/c/generate`
- Auth: none required

## Request body

- object
  - `json` unknown, required
  - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'

## Response `200`

Created URL

- CustomResponseCreate
  - `url` string

## Other responses

- `400`: Error
- `413`: Error

---

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