'Make a POST request to the specified URL with an OAuth2 bearer token.  If
no token is provided, a valid token will be used.'

def post_with_bearer_token(self, target_url, token=None):

    auth = self._create_authorization_header(token)
    return self.csrf_client.post(target_url, HTTP_AUTHORIZATION=auth)
