quant-shiva / uploader

API to upload image to cloudinary cloud service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uploader

API to upload image to cloudinary cloud service.

Library and Frameworks

Node js
Express
Multer
dotenv
cloudinary

Run it on your local machine

download the code
open up terminal and go to the file uploader
install dependecies - npm intasll
run - node app

API refrence

To upload an image -
url - localhost:3000/upload
method - POST
enctype - multipart/form-data
response - JSON Object
Image Url - Object.url and Object.secure_url

Error response

403 - request method not supported
500 - Image not uploaded to cloud

About

API to upload image to cloudinary cloud service.


Languages

Language:JavaScript 100.0%