fetch("https://truyentest.tinai.net/webapi/index", {
    method: "POST",
    mode: "cors",
    headers: {
        "Content-Type": "application/json",
        "Accept": "application/json"
    },
    body: JSON.stringify({
        actionType: "getAllTinyCatSunkanilg200",
        limit: 5
    })
})
.then(res => {
    if (!res.ok) {
        throw new Error("HTTP error! status: " + res.status);
    }
    return res.json();
})
.then(data => {
    console.log("API response:", data);
})
.catch(err => {
    console.error("Fetch error:", err);
});