I hereby claim:
- I am ajfunk on github.
- I am ajfunk (https://keybase.io/ajfunk) on keybase.
- I have a public key ASBFq5qghSWZpiMlmhPcegpmEdrIwxbqbL2dAHlSsfJm_Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<h1>TESTING</h1> | |
<button id="send">SEND</button> |
const http = require('http') | |
const solution = (url, cb) => | |
http.get(url, res => | |
res.on('data', chunk => { | |
const data = JSON.parse(chunk.toString()) | |
if (!data || !data.follow) return cb(data) | |
return solution(data.follow.replace('challenge?', 'challenge.json?'), cb) | |
}) | |
) |