When accessing a web service with multiple requests, BaseURL can be set to the common root of the URLs. For example: ``` h←HttpCommand.New 'get' h.BaseURL←'https://api.github.com/' h.URL←'orgs/myorg/repos' ``` Will issue the request to https://api.github.com/orgs/myorg/repos ``` h.URL←'repos/myorg/myrepo/commits' ``` Will subsequently issue a request to https://api.github.com/repos/myorg/myrepo/commits
When accessing a web service with multiple requests, BaseURL can be set to the common root of the URLs. For example:
Will issue the request to https://api.github.com/orgs/myorg/repos
Will subsequently issue a request to https://api.github.com/repos/myorg/myrepo/commits