HTTP client wrapping fetch with a base URL and bearer-token authentication, used by every Teia REST API client to build requests and parse JSON responses.
fetch
Sends the given request using the fetch API.
Note: Content-Type:text is used by default for PUT, POST and PATCH if not specified
Content-Type:text
Creates a new URL from the endpoint and base url.
HTTP client wrapping
fetchwith a base URL and bearer-token authentication, used by every Teia REST API client to build requests and parse JSON responses.