Rest web service example with simple language conditional usage