Creates a request url based on the given base url and passed paths. The json extensions is added automatically.

create_request_url(url, paths, add_json_ext = TRUE)

Arguments

url

base url of the request

paths

vector of paths that should be added to the url

add_json_ext

boolean indicating if include ".json" at the end of request

Value

request url with added paths and the json extension