---
title: "读取一贴"
method: GET
path: "/paste/{key}"
tags: ["Paste"]
---

# 读取一贴

`GET /paste/{key}`

如果不指定 Accept: application/json 的话，默认会返回 text/plain 格式的 content

## Path parameters

- `key` string, required

## Headers

- `Accept` string

## Response `201`

Created

- PasteGetResponse
  - `code` integer
  - `content` string
  - `lang` string

## Other responses

- `default` — Default response

---

[API](https://skmtc.dev/pasteus/apis/pasteme-api.md) · [All operations](https://skmtc.dev/pasteus/apis/pasteme-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pasteus/pasteme-api/revisions/5f17e7f23ad4/schema)
