make rest api and sample config h2