Adds an event listener for the specified event type.
A function that can be called to remove the event listener.
Gets a proxy URL for the given target URL.
This API allows components to request a proxy URL for a given target URL. The proxy URL can be used to make requests to the target endpoint through the Studio Pro backend, which can be useful for bypassing CORS restrictions.
The URL to proxy.
A promise that resolves to the proxy URL. This URL can be used to make requests to the target endpoint through the Studio Pro backend.
API for working with the HTTP proxy in the Studio Pro backend.
This API allows components to request a proxy URL that can be used to make requests to external web resources through the Studio Pro backend, which can be useful for bypassing CORS restrictions.