mirror of
https://github.com/tribufu/tribufu-js
synced 2026-06-01 09:42:36 +00:00
Merge mintaka lib
This commit is contained in:
parent
b4d074420a
commit
c6136b6e21
15 changed files with 747 additions and 23 deletions
12
examples/http.js
Normal file
12
examples/http.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import { HttpClient } from '../build/index.mjs';
|
||||
|
||||
async function main() {
|
||||
const http = new HttpClient();
|
||||
const reponse = await http.get('https://www.tribufu.com');
|
||||
console.log(reponse);
|
||||
}
|
||||
|
||||
main();
|
||||
Loading…
Add table
Add a link
Reference in a new issue