Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Hello, World API
node v12.22.12
version:
10.0.0
endpoint
share
tweet
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