• ADS
• CSS
• EXCEL
• IMAGE-SERVER
• SCRIPTS
• SEO
• WEB-PAGE-LANGUAGES
• WEB-SERVER
• WEBSITE-MONITORING-AND-BACKUP
IMAGE-SERVER |
CLOUDINARY |
IMAGE-UPLOAD
Upload Image to Cloudinary using API
You can upload files with a direct call to Cloudflare API from your custom code & send HTTPS POST request to the following URL:
https://api.cloudinary.com/v1_1/<cloud_name>/<resource_type>/upload
where:
- cloud_name: is the name of your Cloudinary account.
- resource_type: is the type of file to upload. Valid values: image, raw (other than image & video), video and auto to automatically detect the file type.
Required parameters for authenticated requests:
How to generate signature
- All parameters added to the method call should be included except: file, cloud_name, resource_type and your api_key.
- Add the timestamp parameter.
- Sort all the parameters in alphabetical order.
- Separate the parameter names from their values with an = and join the parameter/value pairs together with an &.
- Append your API secret to the end of the string.
- Create a hexadecimal message digest (hash value) of the string using an SHA-1 cryptographic function.
PHP Scripts to upload Image using Cloudinary API
Uploading Raw & Authenticated File using Cloudinary API
Output: