def make_request(host, api_key, message):
 url = urllib.parse.urljoin(host, 'echo')
 params = {'key': api_key}
 body = {'message': message}
 response = requests.post(url, params=params, json=body)
 response.raise_for_status()
 return response.text

def make_request ( host , api_key , message ) : url = urllib . parse . urljoin ( host , 'echo' ) params = { 'key' : api_key } body = { 'message' : message } response = requests . post ( url , params = params , json = body ) response . raise_for_status ( ) return response . text
makes a request to the auth info endpoint for google id tokens .