Send a request to an already-fully-qualified URL and validate the
response, mapping non-2xx responses to FoundationApiError with a
server-supplied detail when one is available. Free function (not a method)
so both the class-based clients below and one-off discovery calls (no
client instance yet) share the same request/error handling.
Send a request to an already-fully-qualified URL and validate the response, mapping non-2xx responses to FoundationApiError with a server-supplied detail when one is available. Free function (not a method) so both the class-based clients below and one-off discovery calls (no client instance yet) share the same request/error handling.