Copy-Paste.Online API Documentation

Overview

The copy-paste.online API provides a simple way to send and retrieve text or files. The API is structured around RESTful principles and uses standard HTTP response codes and verbs.

Base URL

All API requests should be made to:

https://copy-paste.online/api/v1/

Endpoints

POST /cpy

Purpose: Send text or files to the copy-paste.online service.

Parameters:

Response:

A JSON object containing:

Usage:

To send text:

curl -X POST -d "text=YourTextHere" https://copy-paste.online/api/v1/cpy

To send a file:

curl -X POST -F "file=@/path/to/your/file.txt" https://copy-paste.online/api/v1/cpy

Error Handling

If an error occurs during the request, the API will return a standard HTTP error code along with a message describing the error.

საიტის დამზადება php file manager

  Number of User Agents per my ip:1