def main():
try:<EOL><INDENT>args = get_config()<EOL>result = webpush(<EOL>args.sub_info,<EOL>data=args.data,<EOL>vapid_private_key=args.key,<EOL>vapid_claims=args.claims,<EOL>curl=args.curl,<EOL>content_encoding=args.encoding)<EOL>print(result)<EOL><DEDENT>except Exception as ex:<EOL><INDENT>print("<STR_LIT>".format(ex))<EOL><DEDENT>
Send data