摘要 |
The subject disclosure relates to techniques for performing an operation on a resource, based on a state of the resource, by invoking a hypertext transfer protocol (HTTP) request on a universal resource locator (URL) indicating the operation. An interface component can receive a request including an HTTP method and a URL including a first portion indicating a resource and a second portion indicating an operation. Further, an invocation component, in response to the operation being associated with the resource, can invoke the operation on the resource utilizing the HTTP method based on a state of the resource. Other embodiments relate to conditionally returning the operation within a return payload, for example, alone or within a feed, based on an applicability of the operation according to a state of an associated resource. |