Change URL prefix from /rest to /api