Skip to content

Instantly share code, notes, and snippets.

@tcr
Created February 25, 2013 18:12
Show Gist options
  • Save tcr/5031938 to your computer and use it in GitHub Desktop.
Save tcr/5031938 to your computer and use it in GitHub Desktop.
Script to apply to the Startup Park with Node.js
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