osnapi/core.py
def send_post(query:str, body:Dict, requires_auth:bool=False) -> Dict:
    """ Sends an HTTP POST request using query as URL and body as json content.
    """
    headers = generate_headers(requires_auth)
    response = requests.post(url=query, json=body, headers=headers)
    return handle_response(query, response)
 Sends an HTTP POST request using query as URL and body as json content.
    
Sends an HTTP POST request using query as URL and body as json content.
Sends an HTTP POST request using query as URL and body as json content .
def send_post(query:str, body:Dict, requires_auth:bool=False) -> Dict:
    headers = generate_headers(requires_auth)
    response = requests.post(url=query, json=body, headers=headers)
    return handle_response(query, response)
def send_post ( query : str , body : Dict , requires_auth : bool = False ) -> Dict : headers = generate_headers ( requires_auth ) response = requests . post ( url = query , json = body , headers = headers ) return handle_response ( query , response )
Sends an HTTP POST request using query as URL and body as json content.
Sends an HTTP POST request using query as URL and body as json content .
""" Sends an HTTP POST request using query as URL and body as json content.
    """
query
str
body
Dict
requires_auth
bool