Relative paths

Using relative paths for api calls.