Removed echo before calling url and added -sS params to curl call.