For a RESTful API that I\'m creating, I need to have some functionality that get\'s a resource, but if it doesn\'t exist, creates it and then returns it. I don\'t think this
very simple: