Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Hello, World API

node v12.22.12
version: 10.0.0
endpointsharetweet
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.
Loading…

no comments

    sign in to comment