Skip to main content

Upload and Download images


Upload an image

POST /image/upluad
Parameters
nametypeDescription
TBArequiredTBA
Responses
http codecontent-typeresponse
200application/json{"statusCode":"200","message":"Image uploaded successfully,"data":"$id"}
400application/json{"statusCode":"400","message":"File cannot be null or empty","data":"null"}
400application/json{"statusCode":"400","message":"Content cannot be empty","data":"null"}
400application/json{"statusCode":"400","message":"Content cannot be null","data":"null"}
406application/json{"statusCode":"406","message":"Content cannot be over 5000 characters","data":"null"}
404application/json{"statusCode":"404","message":"There was an issue while uploading image","data":"null"}

Download an image

GET /image/$id$
Responses
http codecontent-typeresponse
TBCTBCTBC