To send the channel a message, run this command:
\n\ncurl {channelEndpoint} -d \"message goes here\"\n\n
Subscribe on this device using the button below.
\n{\n this.state.subscribeDisabled ?\n :\n (this.state.subscribed ?\n :\n \n )\n }\n
\nSubscribe on another device by opening {webLink} or scanning the QR code below.
\n\n \n\n Your channel is ready to be used!\n
\n\n To send a message with curl, run the following command in a terminal:\n
\n$ curl {channelEndpoint} -d \"Hello from notify.run\"\n
\n If you have pip, you can also install and run the notify-run package\n and use the command-line interface:\n
\n{`$ pip install notify-run\n$ notify-run configure ${channelEndpoint}\n$ notify-run send \"Hello from notify.run\"`}\n
\n You can always\n visit {channelLink} to\n view a log of recent messages or subscribe new devices.\n
\nAll notifications are sent to a channel, which is how\n notify.run knows how to route them. To get started, create a channel.\n
\n \n {\n this.props.error ? (\n\n Your new channel is called {this.props.channelId}.\n
\n\n To receive notifications on a device (such as a desktop or phone), subscribe them\n to your channel. If multiple devices are subscribed to the same channel,\n they will all receive notifications.\n
\n {\n this.state.supported ?\nUse the button below to subscribe on this device. To subscribe on\n a different device, open the URL below or scan this QR code.\n
:\nThe device or browser you are using does not support the Web Push API, but you can\n receive notifications on another device by opening the URL below or scanning the\n QR code.\n
\n }\n\n{`${Config.WEB_SERVER}/c/${this.props.channelId}\\n`}\n \n
\n {\n this.state.supported ? (\n this.state.subscribed ?\n :\n \n ) : ''\n }\n \n
\n{this.state.err.message}
\n