Server handling REST requests from frontend client.