Hi Naga, You are best to use the Javascript API inside of your rest consumer. There is a simple sample here: