The import and sync API url are very similar. This function capture the shared parts. The individual API call will add its special part as parameter to build its url.

build_url(middle)

Arguments

middle
the unique part of each individual API call

Value

import and sync API url

Details

Called by local_import, url_common