basic RESTful functionality