51 lines
965 B
Text
51 lines
965 B
Text
|
POST http://localhost:8088/generate_mosaic HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"rows": 1,
|
||
|
"columns": 1,
|
||
|
"buffer_size": 150,
|
||
|
"background_file": "fonds_slide.png",
|
||
|
"keywords": ["unicorn"]
|
||
|
}
|
||
|
|
||
|
################################
|
||
|
|
||
|
POST http://localhost:8088/generate_mosaic HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"rows": 1,
|
||
|
"columns": 2,
|
||
|
"buffer_size": 150,
|
||
|
"background_file": "fonds_slide.png",
|
||
|
"keywords": ["unicorn","thief"]
|
||
|
}
|
||
|
|
||
|
################################
|
||
|
|
||
|
POST http://localhost:8088/generate_mosaic HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"rows": 2,
|
||
|
"columns": 2,
|
||
|
"buffer_size": 150,
|
||
|
"background_file": "fonds_slide.png",
|
||
|
"keywords": ["thief","unicorn","unicorn","thief"]
|
||
|
}
|
||
|
|
||
|
|
||
|
################################
|
||
|
|
||
|
POST http://localhost:8088/generate_mosaic HTTP/1.1
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"rows": 10,
|
||
|
"columns": 10,
|
||
|
"buffer_size": 100,
|
||
|
"keywords": ["cat", "dog"],
|
||
|
"background_file": "fonds_slide.png"
|
||
|
}
|