Convert Asset into Base64 String
Uploads an asset
Input
{
"files": [
{
"name": "1600x900.png",
"type": "image/png",
"path": "testdata/images/1600x900.png"
}
]
}Output · HTTP 200
{
"statusCode": 200
}Show curl command
curl -X POST 'https://api.1001fx.com/files/asset2base64' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-F 'file=@1600x900.png'