code: def _create_request(self, messages):
          
  
          msg = ','.join(messages)
          request = '{{"request":"sender data","data":[{msg}]}}'.format(msg=msg)
          request = request.encode("utf-8")
          logger.debug('Request: %s', request)
  
          return request
docs: Create a formatted request to zabbix from a list of messages.
  
          :type messages: list
          :param messages: List of zabbix messages
  
          :rtype: list
          :return: Formatted zabbix request