Hi can anyone please guide me how to write API Test for POST Request without bearer/Authorisation Token ?
const data ={
id: 1999,
name: 'Islamabad',
default_show: true,
}
return request
.post('city')
.send(data)
.then((res) => {
console.log(res);
});
});
});
I have tried this but it says auth key not there. However, there is no token on this API. Any leads would be great and helpful please Thanks.