Rest API updated
Merge pull request #30 from Nipuni/master

Rest API updated