async function addProperty(){ let header = { userid: yourToken } let url = 'https://simpledb.vercel.app/api/add/{propertyName}' let insert = await fetch(url, {headers: header}) let json = await insert.json() console.log(json)}