learning-project-01 / bookstore-app

3 stars 2 forks source link

address api implementation #22

Closed rkpatra201 closed 10 months ago

rkpatra201 commented 10 months ago

Task : https://github.com/learning-project-01/bookstore-app/issues/19

NEW ADDRESS CREATION

image

curl --location 'localhost:8080/address' \
--header 'Content-Type: application/json' \
--data '{
    "line1": "Line 1",
    "line2": "Line 2",
    "city": "City 1",
    "state": "State 1",
    "country": "Country 1",
    "postalCode": 123456
}'

LIST ADDRESS

image

curl --location 'localhost:8080/address'