an initial (testing) infrastructure for REST API