Skip to main content
Module

x/arubaos_cx/mod.ts>fetchOnce

ArubaOS-CX REST API client for Deno.
Latest
function fetchOnce
import { fetchOnce } from "https://deno.land/x/arubaos_cx@v1.0.2/mod.ts";

Creates a client and performs a request inbetween automatic login/logout. Recommended for single requests.

Example:

import { fetchOnce } from "https://deno.land/x/arubaos_cx@$VERSION/mod.ts";

const response = await fetchOnce({ host: "10.20.30.40" }, "/system");

Parameters

clientInit: ClientInit
path: string
optional
init: RequestInit