Rest VS WebSocket Example