Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chinni4321 authored Jan 31, 2023
1 parent 4060ea9 commit 6971c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- Create User is a Post Request and the url for it is http://localhost:8080/user/create
- Sample for create - "curl --location --request POST 'http://localhost:8080/user/create' --header 'Content-Type: application/json' --data-raw '{"name":"devops"}'"

- curl --location --request POST 'http://localhost:8080/user/create' --header 'Content-Type: application/json' --data-raw '{"name":"devops","email":"umar@gamil.com","phone":"8309088421"}'
- curl --location --request POST 'http://localhost:8080/user/create' --header 'Content-Type: application/json' --data-raw '{"name":"devops","email":@gamil.com","phone":""}'

- View User is a Get Request and the url for it is http://localhost:8080/user/{name}
- Sample for view - "curl --location --request GET 'http://localhost:8080/user/devops'"
Expand Down

0 comments on commit 6971c15

Please sign in to comment.