Created
February 25, 2013 18:12
-
-
Save tcr/5031938 to your computer and use it in GitHub Desktop.
Script to apply to the Startup Park with Node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rem = require('rem'); | |
var api = rem.createClient({ | |
base: 'http://www.startuppack.org/v1/', | |
uploadFormat: 'form' | |
}); | |
api('users').post({ | |
token: ..., // your token | |
email: "id@timryan.org", | |
first_name: "Tim", | |
last_name: "Ryan", | |
company_url: "http://edit.io/", | |
twitter_name: "timcameronryan", | |
country: "USA" | |
}, function (err, res) { | |
console.log(err, res); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment