pastebin-api / README.md
Yuvraj Singh Chauhan
Updated readme using gemma
a760422 unverified
|
Raw History Blame Contribute Delete
477 Bytes
metadata
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.