use web/fetch

This module implements short wrappers around the Fetch API to fetch text or JSON (GET method).

fetchText ( urltext )

Fetch the URL, and return the text content.

fetchJSON ( urlobj )

Fetch the URL, parse it as JSON, and return the resultant object.


back to index

docs@04547c7