separate REST GetPIndexHandler
test REST GetPIndexHandler