I hereby claim:
- I am georgio on github.
- I am georgio (https://keybase.io/georgio) on keybase.
- I have a public key ASDoCwSdyexwrgfO76mD04aEOpdntwI9Ufcu98mThPuaOAo
To claim this, I am signing this object:
const http = require('http'); | |
const url = require('url'); | |
//Database | |
let database = []; | |
http.createServer((req, res) => { | |
//Parsing query from URL | |
let data = url.parse(req.url); | |
//set method; takes 2 parameters key and value; response includes web page to confirm transaction; |
let saveData = (function(){ | |
let a = document.createElement("a"); | |
document.body.appendChild(a); | |
a.style = "display: none"; | |
return function (data, fileName){ | |
let blob = new Blob([data], {type: "octet/stream"}), | |
url = window.URL.createObjectURL(blob); | |
a.href = url; | |
a.download = fileName; | |
a.click(); |
I hereby claim:
To claim this, I am signing this object: