Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
javabyranjith committed Feb 29, 2020
1 parent 3fee945 commit 9d8f6b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sboot-rest-springdata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ http://localhost:6060/ </br>

#### Add products (POST method)
http://localhost:6060/products

``` json
{
"id": "100",
Expand All @@ -34,18 +35,22 @@ http://localhost:6060/products
"price": "45000"
}
```

#### Retrieve products (GET method)
http://localhost:6060/products/
http://localhost:6060/products/ </br>
http://localhost:6060/products/100

#### Update products (PUT method)
http://localhost:6060/products

``` json
{
"id": "300",
"name": "LG AC100 update",
"type": "AC",
"price": "45"
}
```

#### Delete products (DELETE method)
http://localhost:6060/products/100

0 comments on commit 9d8f6b3

Please sign in to comment.