Answer the question
In order to leave comments, you need to log in
How to implement POST or GET requests to vk api via javascript & jquery?
You need to implement POST or GET requests to h ttps://api.vk.com/method/users.get?access_token=Se... using javascript and jquery and get a response in JSON format.
How can I do it?
Answer the question
In order to leave comments, you need to log in
var req="https://api.vk.com/method/users.get?access_token=СекретныйТокен"
$.ajax({
url : req,
type : "GET",
dataType : "jsonp",
success : function(msg){
console.log(msg.response[0]);
}
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question