Methods
-
Wrapper over fetch (browser), for more details, checkout Using Fetch | MDN.
Name Type Description parameters
object url, method, and other request parameters as mentioned in Supplying request options to fetch Returns:
Type Description object { send: () => {}, abort: () => {} } -
Wrapper over fetch (node), for more details, checkout Node-fetch docs.
Name Type Description parameters
object url, method, and other request parameters as mentioned in Supplying request options to fetch Returns:
Type Description object { send: () => {}, abort: () => {} } -
Get url from a string containing path and other params.
Name Type Description path
string Throws:
Will throw error if baseUrl is not specified or is not valid.Returns:
Type Description string complete url.