Hello, i got this error but i don’t have any idea where to look for to fix this issue
1. Error {name: "SyntaxError"}
1. name: "SyntaxError"
Here is the code :
const wordAI = await remoteFetchAsync("https://github.com/braytonstafford/wordai",
{
method : "POST",
header : {
'Content-type' : "application/json"
},
email: email,
key: wakey,
input : "This is a test",
rewrite_num: 2,
uniqueness : 3,
output: 'json',
quality: 'Regular',
});
try {
const data = await wordAI.json()
console.log('response data?', data)
} catch(error) {
console.log('Error happened here!')
console.error(error)
}
