File size: 477 Bytes
a760422
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: Pastebin API
emoji: 📋
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
---

# Pastebin API

A simple pastebin service with rate limiting.

## Features
- Create pastes with customizable TTL (10m, 1h).
- Retrieve pastes by ID.
- Rate limiting to prevent abuse.
- Health check endpoint.

## API Endpoints
- `GET /`: Welcome message.
- `POST /paste`: Create a new paste.
- `GET /paste/{id}`: Retrieve a paste.
- `GET /health`: Check service and Redis status.