Turns out that the Enterprise API that is distributed to clients to run their own w3w API infrastructure does not include the autosuggest-selection endpoint. In order to fix 404s that are thrown in this use case I have added a whitelist of domains that support this call otherwise it just does nothing.
Adds a whitelist for domains that support the autosuggest-selection endpoint and does not call it if it is not a w3w domain that supports this request.
Background
Turns out that the Enterprise API that is distributed to clients to run their own w3w API infrastructure does not include the
autosuggest-selection
endpoint. In order to fix 404s that are thrown in this use case I have added a whitelist of domains that support this call otherwise it just does nothing.autosuggest-selection
endpoint and does not call it if it is not a w3w domain that supports this request.