using curl to query REST and return data
update
update