Introduction

Welcome to the AR Hosting API documentation. This API allows you to upload files and interact with our hosting platform.

Choose Your Language

File Upload API

POST /api/upload

Parameters

Parameter Type Description
file file The file to upload (multipart/form-data)

Example Request

curl -X POST https://cdn.arifzyn.tech/api/upload \
  -F "file=@/path/to/your/file.png"

Example Response

{
  "status": 200,
  "creator": "Arifzyn.",
  "data": {
    "originalname": "1728182170206.jpg",
    "filename": "kr5ojad2.jpg",
    "mimetype": "image/jpeg",
    "size": 25336,
    "url": "https://cdn.arifzyn.tech/f/kr5ojad2.jpg"
  }
}