21- user-service-A (testing part using postman)
Steps taken to POST OR GET your API on POSTMAN
1- Download and Open POSTMAN API.
2- Choose the method you want to execute (POST) or (GET).
3- Write your URL Path " http://localhost:8081/user" for POST.
4- Write your URL Path " http://localhost:8081/user/{id}" for GET.
5- Choose the format which you are submitting data in my case is body-> raw -> json
This process for POST.
6- Submit and wait for Response..
7- Check your MySQL Workbench to see your changes OR HttpStatus .
POST Requests
Creating or Posting your 1st entry
Creating or Posting your 2nd entry
Creating or Posting your 3rd entry
Creating or Posting your 4th entry
Creating or Posting your 5th entry
-------------------------------------------------------------------------------------
Getting all values on SQL Workbench
-------------------------------------------------------------------------------------
GET Requests
Getting value for id=1 on POSTMAN
Getting value for id=2 on POSTMAN
Getting value for id=3 on POSTMAN
Getting value for id=4 on POSTMAN
Getting value for id=5 on POSTMAN
Comments
Post a Comment