ADDED:gs-rest-service-cors example code