Routes works fine in sort of rest http interface