Python Example
Uploads a file to owf.gay in one request via POST /a/1/u/s, using Python's standard HTTP client - no third-party library required.
import requests
url = "https://owf.gay/a/1/u/s"
headers = {} # add {"X-Api-Key": "your-api-key"} if accounts are enabled
with open("file.txt", "rb") as f:
res = requests.post(url, headers=headers, files={"f": f})
print(res.text) # the file's URL
Full endpoint details are on the API page.