API, чтобы получить информацию о человеке: http: // localhost: 8080/person/101
response:
Код: Выделить всё
{
"id": 101,
"name": "some name",
"_links": {
"self": {
"href":"http://localhost:8080/person/101"
},
"addresses": {
"href": "http://localhost:8080/person/101/addresses"
}
}
Ответ от API http: // localhost: 8080/person/101/addrestes, как ниже p> p> p> p> p> p> p> p> p> p> p> p> p> p> p> p> pry http: // localhost: 8080/person/101/addrestes as http: // localhost: 8080/person/101/addrestes, как ниже
Подробнее здесь: https://stackoverflow.com/questions/795 ... t-response