Custom Filenames
We just added custom filenames support to the API. In order to save your files with a specified filename, you can now pass a filename=xx.png
parameter. If you also set json=true
, that will return a CDN path ending with your requested filename. Otherwise, we will add a content-disposition
header to ensure that client browsers do download the file with the filename that you provide.