An HTTP handler that listens to requests to a specific path for pod related requests.
Handles everything related to pod management from input request to output response.
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.
An HTTP handler that listens to requests to a specific path for pod related requests. Handles everything related to pod management from input request to output response.