Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

testing code through local server using express.js

const express = require('express')
// respond with "hello world" when a GET request is made to the homepage
app.get('/', (req, res) => {
  res.send("Hello World")
})
app.listen(3000)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #testing #code #local #server
ADD COMMENT
Topic
Name
3+3 =