Hello, World API

node v12.14.0
version: 10.0.0
var express = require("@runkit/runkit/express-endpoint/1.0.0"); var bodyParser = require("body-parser"); var app = express(exports); app.use(bodyParser.json()) app.post("/", (req, res) => { console.log(req); res.send(`ok`); })
You can visit this API by clicking the "endpoint" link at the top of the page, or by swapping out runkit.com for runkit.io in your URL bar.

no comments

    sign in to comment