https://parzibyte.me/blog/posts/creando-libreria-http-javascript/
Creando una librería HTTP de JavaScript