'Helper to execute a POST workers API call.'

def _get_resp_post(self, body, version='3.24', ctxt=None):

    req = webob.Request.blank(('/v3/%s/workers/cleanup' % fake.PROJECT_ID))
    req.method = 'POST'
    req.headers['Content-Type'] = 'application/json'
    req.headers['OpenStack-API-Version'] = ('volume    ' + version)
    req.environ['cinder.context'] = (ctxt or self.context)
    req.body = jsonutils.dump_as_bytes(body)
    res = req.get_response(app())
    return res
