--- 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.