Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

router.post('/api/v1/tander/interes', upload.array(), function (req, res, next) {
var results = [];
// Grab data from http request
var data = {nombre: req.body.interest.value, categoria: req.body.interest.category};
console.log(req.body);
// Get a Postgres client from the connection pool
pg.connect(connectionString, function(err, client, done) {