Is there an existing proposal for this?
This feature does not exist in the latest version
Proposal
Implement a standard async-based fetch API allowing standard HTTP requests to be made given a specific target URL. This should resemble the standard fetch JavaScript API, which is the default web request interface in browser and Node v18+ environments.
Exact behaviour / changes you want
Is there an existing proposal for this?
This feature does not exist in the latest version
Proposal
Implement a standard async-based
fetchAPI allowing standard HTTP requests to be made given a specific target URL. This should resemble the standardfetchJavaScript API, which is the default web request interface in browser and Node v18+ environments.Exact behaviour / changes you want
fetch(), which performs a given request and returns the request as a promise.