test code for hw2
added comments.
added send-post-request
hw2