Connector implementation for handling REST API requests.
Invokes the REST API request with the given plan ID and action.
Shuts down the connector and releases any resources.