26- Using POSTMAN to Update your REST API by ID

Steps taken to Update your REST API by ID

1-    Open POSTMAN API.

2-    Choose the method you want to execute(PUT).

3-   Write your URL Path " http://localhost:8080/api/employees/2"

4-    Choose the format which you are submitting data in my case is body-> raw -> json

5-   Submit  and wait for Response..



Previous  ID2

Previous SQL Table -- (OLd ID 2)


Update Employee By ID 2


New ID2

New SQL Table -- (Updated ID 2)

Comments

Popular posts from this blog

INDEX OF Zeek Spring Boot