Rest API - HATEOAS and Linking
Given this JSON response snippet from a REST API:
What will happen if the client calls the URL in the "approve" action link?
{
"state": "pending",
"actions": {
"approve": "https://api.example.com/items/42/approve",
"reject": "https://api.example.com/items/42/reject"
}
}What will happen if the client calls the URL in the "approve" action link?
