Ajax call
Ajax call
BJW86
Posts: 30Questions: 11Answers: 0
Can anyone tell me why this is not working?
ajax: {
url: 'https://financialmodelingprep.com/api/v3/income-statement/AAPL?limit=120&apikey=1920dcbb65f52e51cf4ceb45d64d6bd9',
dataSrc: '',
},
columns: [
{ data: date },
{ data: symbol },
{ data: revenue },
{ data: grossProfit },
]
} );
Thanks
Answers
You need to put quotes around the object keys, for example:
Kevin
Ah yes,
I will try that, thank you Kevin