RESTful API server for Hangman game