fixed resultset/<id>/ endpoint to avoid CORS issue