Skip to content

Commit

Permalink
Fix HTTP Method
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprasadreddy committed Nov 3, 2023
1 parent cc01798 commit c1def65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions step-3-local-development-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Now, you can invoke the APIs using CURL or Postman or any of your favourite HTTP

### Create a product
```shell
curl -v -X "GET" 'http://localhost:8080/api/products' \
curl -v -X "POST" 'http://localhost:8080/api/products' \
--header 'Content-Type: application/json' \
--data '{
"code": "P201",
Expand Down Expand Up @@ -337,7 +337,7 @@ So, when we make a call to `inventory-service` from our application, it will cal
Now restart the `TestApplication` and invoke the `GET /api/products/P101` API again.
```shell
curl --location 'http://localhost:8080/api/products/P101'
curl -X "GET" 'http://localhost:8080/api/products/P101'
```
You should see the response similar to the following:
Expand Down

0 comments on commit c1def65

Please sign in to comment.