def METHOD_NAME(flow_with_http, test_img_1, test_img_2):
    with flow_with_http:
        time.sleep(0.5)
        r = requests.post(
            f'http://localhost:{flow_with_http.port}/index',
            json={'data': {'docs': [{'uri': test_img_1}, {'uri': test_img_2}]}},
        )
    assert r.status_code == 200
    resp = r.json()
    assert 'data' in resp
    assert len(resp['data']) == 2
    assert resp['data'][0]['uri'] == test_img_1