Update assignment2.html

Add Restfulapi