(request): add path getter

includes fix for json example