Newer versions of the DLS API are checking the host when a request is made. Firing off a request to the v8.7.2 API on macOS leads to a Bad Request (Invalid host) error. Changing localhost to 127.0.0.1 fixes this, and as a bonus makes it slightly more secure.
Newer versions of the DLS API are checking the host when a request is made. Firing off a request to the v8.7.2 API on macOS leads to a
Bad Request (Invalid host)
error. Changinglocalhost
to127.0.0.1
fixes this, and as a bonus makes it slightly more secure.