POST /curl

This endpoint accepts raw plain text via a POST request and returns the Paste URL.

Request

Method: POST

URL: https://notbigfile.xyz/curl

Content-Type: any — treated as raw text

Body: Raw text data (max 5MB)

Response

Status: 200 OK

Body: A text string containing the access URL:

https://notbigfile.xyz/f/<id>

Error Responses

Example Usage

cat example.txt | curl -X POST -H "Content-Type: text/plain" --data-binary @- https://notbigfile.xyz/curl 

This uploads the contents of example.txt and returns the paste url.

Security & Limits

Max file size: 5MB

Paste is set to Unlisted with no way to change it.