0
Well I am very new in javascript and I would like to know how to make the API call in JS and soon after I need a loop to list calls, they are in array in json. Can someone help me with this doubt
code I’m using for API call
function listAtendimento() {
let body = '{"msg": "" }'
$.ajax({
url: "link da api",
type: 'post',
dataType: 'json',
data: body,
contentType: "application/json; charset=utf-8",
success: function (data) {
}
});
}
Hello Victor, post the code you already developed to receive more help and if you want to take a look here https://answall.com/tour
– LeAndrade