Skip to content

saadrupai/post-api-header-query-body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

***** Install node and express
***** run command: 'node index.js' or 'npm start', in terminal to run application

1. In postman, use POST method
2. send in header : password(key) and a value(12345)
3. use url: localhost:8000/query?name=saad&age=25
4. in request body(raw-json), add: 
{
    "city": "Rajshahi",
    "uni": "RUET",
    "id": "1703069"
}

About

An API with a response to the request containing query, header and body(json) using expressJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published