untitled notebook

node v10.16.3
version: 2.0.29
endpointsharetweet
var express = require('express') var request = require('request') var bodyParser = require('body-parser') var app = express() var urlencodedParser = bodyParser.urlencoded({ extended: false }) exports.endpoint = function(req, res) { res.end("test: " + req.body.payload); } function getKeys(req){ var keys = []; for(var key in req){ keys.push(key); } return keys }
Loading…

no comments

    sign in to comment