const WORDKEY = process.env.HASHKEY; const WEBAPI_URL = process.env.RELAY_ROOT || "https://dev-pedw-ns.servicebus.windows.net/dev-pedw-hc/"; export default async function ApiProxy(req, res) { var whichForm = req.query.whichForm; // var queryUrl = // "EntityDefinitions(LogicalName='pinswg_" + // whichForm + // "')/Attributes?$count=true&$select=LogicalName,RequiredLevel"; const mandatoryFieldsData = require("../../../data/mandatoryfields/pinswg_" + whichForm + ".json"); return res.status(200).json(mandatoryFieldsData); }