# -*- coding: iso-8859-1 -*- import requests #import json import sys if __name__ == '__main__': if len(sys.argv) > 1: message = sys.argv[1] empfaenger = sys.argv[2] print('message: {}'.format(message)) print('empfaenger: {}'.format(empfaenger)) webhook_url = 'https://192.168.178.37:5003/talkto/[{}]{}'.format( empfaenger, message) # webhook_url = 'https://127.0.0.1:5003/talkto/[{}]{}'.format( # empfaenger, message) r = requests.post(webhook_url, verify=False) print('Talkto : {}'.format(r))