A fetch function to use with Shopify services. The function ensures the right
TLS configuragion is used based on the environment in which the service is running
(e.g. Spin).
Parameters
url: RequestInfo
This defines the resource that you wish to fetch.
Optionalinit: RequestInit
An object containing any custom settings that you want to apply to the request.
A fetch function to use with Shopify services. The function ensures the right TLS configuragion is used based on the environment in which the service is running (e.g. Spin).