Image Upload API

API Endpoint:

POST /api/v1/product/productimage

Request Body Format:

{
    "thumbnail": [
        "data:image/webp;base64,UklGRkZGBgAA...base64 encoded image data..."
    ]
}
            

Response Format:

{
    "success": true,
    "message": "File uploaded successfully",
    "thumbnailImage": [
        "https://yourdomain.com/uploads/1705589123456.webp"
    ]
}
            

Test the API: