Tool Postman 08.07.24 With Testing - Services WEB Restful Building B 2 Exp
Tool Postman 08.07.24 With Testing - Services WEB Restful Building B 2 Exp
R 22IT038
AIM:
To bulid RESTful web services and testing it with Postman Tool.
PROCEDURE:
2. After installing Node.js you could getSetup Wizard in that click Next.
3. Click Install.
4. Click Finish.
JITESHRAAJU
R 22IT038
Cmd – node - v
Cmd – npm - v
To check Installations
Cmd – init -y
JITESHRAAJU
R 22IT038
3. After running the above command now you could see package.json file the
directory
const books = [
{ title: 'Harry Potter', id: 1 },
{ title: 'Twilight', id: 2 },
{ title: 'Lorien Legacies', id: 3 } ];
// defines array of books
After saving the file type node 1.js in the command prompt.
8. Now Type the http://localhost:8081/api/books / and Get and click Send button.
JITESHRAAJU
R 22IT038
RESULT:
Thus building a RESTful web services and testing it with Postman Tool is
completed successfully.