Help

https://cp.ahcdn.com/api2/file/manual?method=add

(use API credentials to see manual)

Examples

This example uses 'curl' utility but you can use any that you like .

curl -sS -u api_login:api_password -d location='http://domain.com/secretlink/1/2/345.mp4' -d name='1/2/543.mp4' -d size=1234567 http://cp.ahcdn.com/api2/file/add
cdn.domain.com/1/2/543.mp4

The file name in CDN does not have to match file name in download URL(location)