Page History
...
Code Block | ||
---|---|---|
| ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Endpoint Handlers //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// API contacts.GET API contacts.HEAD Method = HTTP_Services('GetHTTPRequestMethod') // If the GET method then return a body. If the HEAD method then just return response headers. . . . . end api |
HAL and URI Templates
URI Templates and HAL
URI Templates were introduced in 2012 as a way of documenting the structure of a URL, along with any query params, so that a process can build valid resource URL. It is also a useful for RESTful applications that simply want to provide self-documenting APIs. The HAL specification provides support links that are URI Templates (versus resource links), it was never implemented in the SRP HTTP Framework...until now! API developers simply need to pass in a 1 in the new IsTemplate argument for the AddLinkRelation service.tbd
4.0.5
More Logging TLC
The more logging gets used the more ways we see how this can be improved. Here is a summary of what we've added:
...