Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _tutorials/websockets.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ load, without creating a user account with a password.
4. Change the text shown in the main page to *"Hello ..."* when the
user name is known (replaced the dots by the user name).

5. GET method is handy for debugging, however we are changing the
state of the server with the route `connect/:user` and a GET
request should not change the state of the server. Turn GET
into POST for this route.

## Communicating the user id to the server

We will now use AJAX to send the user name to the server, so that it
Expand Down