Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create upload preset using node.js on cloudinary

require('dotenv').config();
const cloudinary = require('cloudinary').v2;

cloudinary.api.create_upload_preset({
  name: 'demo_preset',
  tags: 'baby, winter, snow',
  folder: 'babies',
  allowed_formats: 'jpg, png'
})
.then(uploadResult => console.log(uploadResult))
.catch(error => console.error(error));
Source by cloudinary.com #
 
PREVIOUS NEXT
Tagged: #create #upload #preset #cloudinary
ADD COMMENT
Topic
Name
4+7 =