35
36 >
41
42 >
47
48
49
50
51
52
},
},
}
],
"category": {
"name": "Computer Science",
"description": "Computer science description"
Figure 1- The result of API at
http://localhost:9999/tutorials (using method GET)
1.2. (1.5 points)
The API at url:
http://localhost:9999/tutorials/:id/comments (:id - is an ObjectId of the Tutorial)return information of all comments by Id of the tutorial in database, using GET method.
See Figure 2 for more detail.
GET
http://localhost:9999/tutorials/652c1cd546a765d027fb163c/comments
Params Auth Headers (6) Body Pre-req. Tests
Body
Pretty Raw Preview
1
Settings
Send
Cookies
200 OK 25 ms 824 B Save as example
Visualize JSON
Q
Zoom
+ 100%
Close