Ably real-time messaging by example
A simple subscribe & publish to a channel example. See more Ably examples.
or publish a message from our REST API in your console:
curl -X POST https://rest.ably.io/channels/jsbin/messages \
-u "xVLyHw.Ewa-sQ:NT2qyaz6t20TQyOc" \
-H "Content-Type: application/json" \
--data '{ "name": "alert", "data": "hello curl" }'
沒有留言:
張貼留言