Node.js server for the Ajax exercise for the Code Your Future students in Glasgow. It is supposed to mimic a basic chatroom functionality.
Every chatroom has its own id
. You can POST meesages to the chatrom, but only the last message received by the server is stored internally. You can view the last message with GET request, see below.
Server url: http://ajax-cyf.eu-west-1.elasticbeanstalk.com/
/chatroom/?id=[ID] where ID is of your choice
You can POST message with curl:
curl -d "Hello there" "http://ajax-cyf.eu-west-1.elasticbeanstalk.com/chatroom/?id=67"
/chatroom/?id=[ID] where ID is of your choices, i.e.
curl -v http://ajax-cyf.eu-west-1.elasticbeanstalk.com/chatroom/?id=67