'post request with query'

def http_post_request(self, query, data, header):

    verify_ssl = (not self.noCert)
    try:
        url = (self.server + query)
        res = requests.post(url, data, headers=header, verify=verify_ssl)
    except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError) as e:
        log.error('A    transport    error    occurred    in    the    GoDocker    job    runner:', e)
        return False
    return self.test_status_code(res)
