Validate Weather API endpoints and retries
This commit is contained in:
@@ -9,9 +9,9 @@ are documented in [Weather data internals](../internal/weather-data.md) and
|
||||
|
||||
## Base URL And Requests
|
||||
|
||||
`weather_api.base_url` must be an absolute URL. Weatherreporter joins each
|
||||
endpoint path to the configured base URL path, so a service hosted under a path
|
||||
prefix must keep that prefix available. Requests use `GET` and carry the
|
||||
`weather_api.base_url` must be an absolute HTTP(S) URL. Weatherreporter joins
|
||||
each endpoint path to the configured base URL path, so a service hosted under a
|
||||
path prefix must keep that prefix available. Requests use `GET` and carry the
|
||||
configured timeout on every HTTP attempt.
|
||||
|
||||
Every request sends `format` and, except where noted below, `units`. The
|
||||
|
||||
Reference in New Issue
Block a user