Consume
Get next messages
Get the next messages for an HTTP stream consumer
POST
You can use either
POST or GET to retrieve messages for an HTTP stream consumer.Request parameters
ID of the consumer.
Number of messages to try to fetch from the consumer. Defaults to
1.The count of returned messages may be less than the requested batch size if there are fewer messages available for the consumer.Amount of time to wait for messages to become available in the consumer, in milliseconds. Defaults to
0.When wait_for is greater than 0, the request will block until either batch_size messages are available or wait_for milliseconds have passed.Therefore, you can use wait_for to implement long polling.Response fields
The response is an object with adata property that contains a list of messages.

