Adding http methods interface to rest api engine