curl -XPUT -F 'file=@./img/cat.jpg' -F 'scale=10' http://127.0.0.1:5000 --output 1.jpeg
2) Thumbnail over GET request with image url:
- Url is base64 encoded string
http://localhost:5000/?url=aHR0cHM6Ly9pY2hlZi5iYmNpLmNvLnVrL25ld3MvOTc2L2Nwc3Byb2RwYi8xMkE5Qi9wcm9kdWN0aW9uL18xMTE0MzQ0NjdfZ2V0dHlpbWFnZXMtMTE0MzQ4OTc2My5qcGc=
|
|
By DEFAULT log format JSON.