Hacker News new | ask | show | jobs
by shuntress 3397 days ago
Edit: Upon more careful reading, it appears that a response is sent from the server to the client via WebSocket which contains the resource and method that the client can request using HTTP if it wishes to update.

Original question: Can someone explain to me why the JSON message sent to the REST interface seems to contain URL and Type as data?

Is it because they are transmitted using web sockets but the concepts of "resource" (ie: clubs/v1/clubs/665632A9-EF44-41CB-BF03-01F2BA533FE7) and "method" (ie: GET) still just make sense and happens to be very similar to HTTP?