Closed adku closed 2 years ago
I suggest adding a baseURL
parameter to replace the existing host
, port
and isInsecure
configuration options:
let baseURL = URL(string: "localhost:9009/yourname")
let absoluteURL = baseURL?.appendingPathComponent("/v1/endpointName")
I think it should cover your scenario and many more.
25 Extends host with additional path eg. /hostPath, example url: yourHost:9009/hostPath/v1/endpointName
Fixes https://github.com/CreateAPI/Get/issues/25