REST Example in Pulsar Framework