RESTfull api config