const getData = () => {
fetch("https://test-docs.stores.kg/api/categories", {
method: "GET",
headers: {
secretKey: "test_key",
accept: "application/json "
}
})
.then((res) => res.json())
.then((res) => console.log(res));
};
getData();