To receive data, make an HTTP GET subscribe request and wait for a response. Continue to make HTTP subscribe requests each time data is received while including the new 17 digit timetoken, returned by PubNub in every subscribe response, with every request.
See also:
PubNub REST API Docs
Subscribe Cycle
In case of any questions, contact us at support@pubnub.com.