Adding a feature that was never finished. Allows for passing of full api path.
Added support for full url path