Skip to content

slower-master/Server-post-request-response

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

IITK_coin

I'm using express,NPM and java script for this taks (1) first i created directory "IITK_coin" then i create a file "index.js" inside the "iitk_coin" directory

(2)in this directory create module.json file using command in gitbash "npm init -y" install express using Git bash command="npm i express" then i installed ejs(view engine) using command "npm i ejs" (3) added code inside the indexjs (4)(first install nodemon globally so when our file changes,server automatically restart's) command="npm i -g nodemon")

run index.js file using npm command "nodemon index.js"

(5)by the help of post men ,send post request to "http://localhost:8000/coins" and in body assign "rollno" key and its value

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors