comment REST methods and Socket examples