basic pubsub via http