mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-17 21:34:56 +00:00
Generate clients (#206)
This commit is contained in:
12
examples/image/resize/curl/base64ToBase64ImageWithCropping.sh
Executable file
12
examples/image/resize/curl/base64ToBase64ImageWithCropping.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
curl "https://api.m3o.com/v1/image/Resize" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $MICRO_API_TOKEN" \
|
||||
-d '{
|
||||
"base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
|
||||
"cropOptions": {
|
||||
"height": 50,
|
||||
"width": 50
|
||||
},
|
||||
"height": 100,
|
||||
"width": 100
|
||||
}'
|
||||
Reference in New Issue
Block a user