Hi, im trying to get a datastore in node.js but its returning 401
i really wanna know how to use get and set thanks
async function getAsync(key, name) {
const res = await axios.get(
`https://apis.roblox.com/datastores/v1/universes/${universeid}/standard-datastores/datastore/entries/entry`,
{
params: {
datastorename: name,
entryKey: key
},
headers: {
"x-api-key": key
}
}
);
const text = await res.text()
console.log(text)
return res
}