Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am adrianke on github.
  • I am enpo (https://keybase.io/enpo) on keybase.
  • I have a public key whose fingerprint is 339C 63D2 E854 766A 207E FFB5 775A 80A0 783B 821B

To claim this, I am signing this object:

@adrianke
adrianke / index.js
Created August 5, 2015 16:17
Form handling
var http = require('http');
var qs = require('querystring');
var fs = require('fs');
http.createServer(function (req, res) {
if (req.method != "POST") {
res.writeHead(400);
res.end();
return;
}