Message Service (MNS) supports pushing messages from topics to HTTP servers. This topic describes how to push messages from a MNS topic to an HTTP server by using the MNS console.

Create a topic

Create a topic named MyTopic.

  1. In the top navigation bar of the MNS console, select a region, for example, China (Hangzhou).
  2. In the left-side navigation pane, select Topics. In the upper-right corner of the Topics page, click Create Topic.
  3. In the Create Topic dialog box that appears, specify the parameters and click OK.createtopic

Create a subscription

  1. On the Topics page, find MyTopic. In the Action column, click Subscription List.
  2. In the upper-right corner of the section that appears, click Subscribe.create a subscription 1
  3. In the Subscribe dialog box, specify http for the Push Type parameter and specify an HTTP endpoint for the Endpoint parameter.Push messages to HTTP endpoints
    Note HTTP endpoints do not support internal IP addresses.


For information about how to use the Python SDK to push messages to HTTP servers, see Manage topics.