File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ docker run -p "3000:3000" codeinchq/watermarker
42
42
43
43
A simple scenario to apply a watermark to an image using ` curl ` :
44
44
``` bash
45
- curl -X POST -F " image=@/path/po /image.png" -F " watermark=@/path/to/watermark.png" http://localhost:3000/apply -o watermarked.png
45
+ curl -X POST http://localhost:3000/apply -F " image=@/path/to /image.png" -F " watermark=@/path/to/watermark.png" -o watermarked.png
46
46
```
47
47
48
48
A more complex scenario with additional parameters:
49
49
``` bash
50
- curl -X POST -F " image=@/path/po /image.png" -F " watermark=@/path/to/watermark.png" http://localhost:3000/apply -F " blur=3" -F " ratio=1" -F " format=jpg" -F " quality=100" -o test-watermarked.jpg
50
+ curl -X POST http://localhost:3000/apply -F " image=@/path/to /image.png" -F " watermark=@/path/to/watermark.png" -F " blur=3" -F " ratio=1" -F " format=jpg" -F " quality=100" -o test-watermarked.jpg
51
51
```
52
52
53
53
## Client
You can’t perform that action at this time.
0 commit comments