Original work by :Shanjinur Islam Spondon
git clone this repository or download zip. Then open with cmd and start the node server. Then with any http req website send the http requests. Can use Reqbin or postman. According to this server the listener is set at localhost port 8000
url: localhost:8000/login
Method: POST
Content: {"username":"username","password":"password"}\
Result: a sesskey. save this for later reqs
url: localhost:8000/courses
Method: GET
header: sesskey: sesskey
url: localhost:8000/courses/id
Method: GET
header: sesskey: sesskey
url: localhost:8000/sitenews
Method: GET
header: sesskey: sesskey
url: localhost:8000/sitenews/id
Method: GET
header: sesskey: sesskey
url: localhost:8000/resources
Method: GET
header: sesskey: sesskey
url: url
url: localhost:8000/logout
Method: POST
header: sesskey: sesskey