[image-service] update api route, commit image

This commit is contained in:
Ittipat Lusuk 2026-05-15 14:41:37 +07:00
parent 54ecb2ee8c
commit fe75c5b9ed
3 changed files with 142 additions and 7 deletions

View file

@ -5,12 +5,12 @@ Image management enapoint:
## Upload Images
### POST /image/{folder}/upload
```
curl -X POST http://localhost/image/page_drink_n/upload \
curl -X POST http://localhost/image/page_drink_n/upload/uid/displayname/email \
-F "files=@img1.png" \
-F "files=@img2.png"
```
### POST /inter/{country}/image/{folder}/upload
```
curl -X POST http://localhost/inter/tha/image/page_drink_disable_n2/upload \
curl -X POST http://localhost/inter/tha/image/page_drink_disable_n2/upload/uid/displayname/email \
-F "files=@bn_hot_america_no.png"
```