Skip to content

Commit 9d8f6b3

Browse files
committed
up
1 parent 3fee945 commit 9d8f6b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sboot-rest-springdata/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ http://localhost:6060/ </br>
1212

1313
#### Add products (POST method)
1414
http://localhost:6060/products
15+
1516
``` json
1617
{
1718
"id": "100",
@@ -34,18 +35,22 @@ http://localhost:6060/products
3435
"price": "45000"
3536
}
3637
```
38+
3739
#### Retrieve products (GET method)
38-
http://localhost:6060/products/
40+
http://localhost:6060/products/ </br>
3941
http://localhost:6060/products/100
4042

4143
#### Update products (PUT method)
4244
http://localhost:6060/products
45+
46+
``` json
4347
{
4448
"id": "300",
4549
"name": "LG AC100 update",
4650
"type": "AC",
4751
"price": "45"
4852
}
4953
```
54+
5055
#### Delete products (DELETE method)
5156
http://localhost:6060/products/100

0 commit comments

Comments
 (0)