Make service restful