Answer the question
In order to leave comments, you need to log in
fetch returns nothing?
fetch returns nothing. Banal request to Api vk.com.
fetch("https://api.vk.com/method/messages.send").then(data => {
document.write(data);
});
var response = fetch("https://api.vk.com/method/messages.send");
document.write(response.text());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question