howell-http-lib
TypeScript icon, indicating that this package has built-in type declarations

1.0.21 • Public • Published

Install

Install with npm:

$ npm i howell-http-lib

Usage

import { AxiosDigestInstance } from "howell-http-lib";

const username = "admin";
const passwd = "123456";

const url = "/howell/ver10/data_service/village_system/Villages";
const base = "http://192.168.21.244:9000/";

const axios = new AxiosDigestInstance(username, passwd, true);

test("MD5", async () => {
  const a = await axios.get(`${base}${url}`);
  expect(a.status).toBe(200);
});

Author

Tuzhongyi

Readme

Keywords

Package Sidebar

Install

npm i howell-http-lib

Weekly Downloads

0

Version

1.0.21

License

Howell

Unpacked Size

20.5 kB

Total Files

12

Last publish

Collaborators

  • tuzhongyi1983