Netzo Logo

rest

Generic REST API client. It can be used to connect to any REST API.

Usage

import { rest } from 'netzo/apis/rest.ts'

const api = rest({ baseURL: 'https://api.example.com' })
The generic rest api client follows the same pattern as all other api clients. To see a further example of usage, take a look at any other of our api clients.