tessl install tessl/npm-rest@2.0.0RESTful HTTP client library with composable interceptor architecture for Node.js and browsers
Agent Success
Agent success rate when using this tile
76%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.29x
Baseline
Agent success rate without this tile
59%
{
"context": "This criteria evaluates an engineer's ability to use rest.js library's HAL (Hypertext Application Language) converter capabilities to fetch and navigate hypermedia resources. The focus is on proper usage of rest.js HAL-specific features for handling _links and _embedded structures.",
"type": "weighted_checklist",
"checklist": [
{
"name": "HAL MIME Type",
"description": "Uses rest.js with proper HAL+JSON MIME type configuration (application/hal+json) via the mime interceptor or appropriate Accept headers",
"max_score": 25
},
{
"name": "Client Setup",
"description": "Correctly wraps rest.js client with necessary interceptors (mime interceptor at minimum) to enable HAL response parsing",
"max_score": 20
},
{
"name": "Link Following",
"description": "Uses rest.js response's .follow() method or accesses HAL _links relationships to navigate to related resources",
"max_score": 25
},
{
"name": "Embedded Access",
"description": "Accesses _embedded resources from HAL responses through the entity property of rest.js responses",
"max_score": 15
},
{
"name": "Promise Handling",
"description": "Properly handles rest.js promise-based responses using .then() or .entity() methods to extract HAL resource data",
"max_score": 15
}
]
}