def do_ams_auth(endpoint, body):
headers = {"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": json_acceptformat}<EOL>return requests.post(endpoint, data=body, headers=headers)<EOL>
Acquire Media Services Authentication Token.
    Args:
        endpoint (str): Azure Media Services Initial Endpoint.
        body (str): A Content Body.

    Returns:
        HTTP response. JSON body.