Use initial url parameter if given, else fallback to petstore example

Added ability to override the default url via a request parameter.