FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Nodejs-REST-API/rest.http at master · laxmiwagh/Nodejs-REST-API · GitHub
laxmiwagh
/
Nodejs-REST-API
Public
forked from
trulymittal/Nodejs-REST-API
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Nodejs-REST-API
/
rest.http
Copy path
More file actions
More file actions
Latest commit
History
History
History
65 lines (22 loc) · 629 Bytes
Breadcrumbs
Nodejs-REST-API
/
rest.http
Copy path
File metadata and controls
65 lines (22 loc) · 629 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
###Get a list of all products
GET
http://localhost:3000/products
### Create a product
POST
http://localhost:3000/products
Content-Type:
application/json
{
"name"
:
"
iMac Pro
"
,
"price"
:
4999
}
### GET a product by id
GET
http://localhost:3000/products/5df118b3c86e5826958b661a
### Update a product by id
PATCH
http://localhost:3000/products/5df118b3c86e5826958b661a
Content-Type:
application/json
{
"price"
:
5999
}
### Delete a product by id
DELETE
http://localhost:3000/products/5df118b3c86e5826958b661a
### 404 route Not Found
GET
http://localhost:3000/abc_xyz
#hrXWgw4Q127uqZJ3
Back
|
FazBrowse Home
|
New Git URL