Updating with $api_domain variable

Many of the samples used a hardcoded apigee.net in the URL. The
setup.sh file was having users set variable “api_domain”.