Implement a RESTful web server to store and retrieve palindromes