8000 GitHub - PabloTheBlink/HttpClientJS: Librería de JavaScript para facilitar el fetching de datos.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PabloTheBlink/HttpClientJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

HttpClientJS

HttpClientJS es una pequeña y liviana librería de JavaScript para facilitar el fetching de datos.

Uso

Inicialización

Para utilizar HttpClientJS, primero debes importarlo en tu script y luego llamar a uno de sus métodos:

import { HttpClient } from "https://cdn.devetty.es/HttpClientJS/js";

HttpClient.get("https://api.es/example", (result) => {
  // result.status -> true/false
  // result.data -> the content
});

HttpClient.post("https://api.es/example", { id: "1", name: "Test" }, (result) => {
  // result.status -> true/false
  // result.data -> the content
});

About

Librería de JavaScript para facilitar el fetching de datos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0