Handling Requests

 app.use()

we can  send requests in HOPPSCOTCH 

to send requests we need to download the extended version of it

visit https://github.com/hoppscotch/hoppscotch/discussions/2051


const express=require("express");
const app=express();
// console.dir(app);

let port=3000;
app.listen(port,()=>{
    console.log(`app is listening on port ${port}`);

});
app.use((req,res)=>{
    console.log("request received");
});


Comments

Popular posts from this blog

DATABASE RELATIONSHIPS

ROUTING (GET /) home route

Query Strings