code: def do_ams_sto_put(endpoint, body, content_length):
      '''Do a PUT request to the Azure Storage API and return JSON.
      Args:
          endpoint (str): Azure Media Services Initial Endpoint.
          body  (str): Azure Media Services Content Body.
          content_length (str): Content_length.
  
      Returns:
          HTTP response. JSON body.
      '''
      headers = {"Accept": json_acceptformat,
                 "Accept-Charset" : charset,
                 "x-ms-blob-type" : "BlockBlob",
                 "x-ms-meta-m1": "v1",
                 "x-ms-meta-m2": "v2",
                 "x-ms-version" : "2015-02-21",
                 "Content-Length" : str(content_length)}
      return requests.put(endpoint, data=body, headers=headersf do_ams_sto_put(endpoint, body, content_length):
      '''Do a PUT request to the Azure Storage API and return JSON.
      Args:
          endpoint (str): Azure Media Services Initial Endpoint.
          body  (str): Azure Media Services Content Body.
          content_length (str): Content_length.
  
      Returns:
          HTTP response. JSON body.
      '''
      headers = {"Accept": json_acceptformat,
                 "Accept-Charset" : charset,
                 "x-ms-blob-type" : "BlockBlob",
                 "x-ms-meta-m1": "v1",
                 "x-ms-meta-m2": "v2",
                 "x-ms-version" : "2015-02-21",
                 "Content-Length" : str(content_length)}
      return requests.put(endpoint, data=body, headers=headers)
docs: Do a PUT request to the Azure Storage API and return JSON.
      Args:
          endpoint (str): Azure Media Services Initial Endpoint.
          body  (str): Azure Media Services Content Body.
          content_length (str): Content_length.
  
      Returns:
          HTTP response. JSON body.