Skip to content

Implement BaseURL #19

@bpbecker

Description

@bpbecker

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions