Handles POST Operations. Calls the addResource function from a ResourceStore.
Helper function that first runs the canHandle function followed by the handle function. Throws the error of the canHandle function if the data can't be handled, or returns the result of the handle function otherwise.
The data to handle.
The result of the handle function of the handler.
Handles POST Operations. Calls the addResource function from a ResourceStore.