Closed oztrkmrt closed 1 month ago
token
In this task you will handle address information of client
Get Address information
GET
/user/address
Add new address
[x] If client click “Add Address” button a form should be shown on the page
[x] Fom Fields:
{ "title": "ev adresi", "name": "Alişan", "surname": "Karababa", "phone": "05376845834", "city": "istanbul", "district": "esenler", "neighborhood": "adres detayları" }
POST
Update Address
PUT
{ "id": 1204, "title": "ev adresi", "name": "Alişan", "surname": "Karababa", "phone": "05376845834", "city": "istanbul", "district": "esenler", "neighborhood": "adres detayları" }
Delete Address
DELETE
/user/address/:addressId
@gokhanozdemir hocam projemi indirip bakacaktınız.
Description
token
to request headersIn this task you will handle address information of client
Get Address information
GET
request to/user/address
to get saved address list of the userAdd new address
[x] If client click “Add Address” button a form should be shown on the page
[x] Fom Fields:
POST
request to same endpoint:/user/address
Update Address
PUT
request to/user/address
endpoint with payload data below:Delete Address
DELETE
request to/user/address/:addressId
endpoint