- method: post
- url: /uploadImages
- multipart/form-data
- body: {file: File}
curl --location 'http://localhost:5000/uploadImages' \
--form 'file=@"/Users/xxx/Downloads/5.png"'
방식2: 오리진 파일만 업로드 하고 url요청에 따라 파일 생성
- method: post
- url: /uploadImages2
- multipart/form-data
- body: {file: File}
curl --location 'http://localhost:5000/uploadImages2' \
--form 'file=@"/Users/xxx/Downloads/5.png"'
- method: post
- url: /uploadImages2
- multipart/form-data
- body: {file: File}
http://localhost:5000/image?p=upload/20240413/97a61d405b/original.png
- method: get
- url: /image
- params:
- p(imagePath): string;
- format(jpeg): jpeg | png | jpg
- progressive(true): boolean
- width: number
- height: number
- quality(80): 1-100
- 추가적인 예외 처리 필요(width, height 최대값 지정 quality값 범위 등등)