How get datas from api from ajax, when api with 'Authorization': 'Bearer ' + `${token}`
How get datas from api from ajax, when api with 'Authorization': 'Bearer ' + `${token}`

The API contain the data to populate the datatable, but I don't know how get data from API with 'Authorization': 'Bearer ' + ${token}
.
Also, I tried to add new row data, but I get an error: "DataTables warning: table id=ordersTable - Requested unknown parameter 'items.0.sku' for row 50, column 1".![]
Help me please !!!!
Thanks
This discussion has been closed.
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin