Learnt consuming a rest service and what is CORS