1
votes

I'm new to this and i'm wondering if i can make the ajax to be made as if the request is made from another location (specifically russia) how can i go about doing that?

$.ajax({
        url: ` https://api.vk.com/method/video.search?q=${getInput}&count=16&access_token=${token}&v=5.81`,
        method: "GET",
        dataType: "JSONP",
        success: function (data) {
          setNewData(data);
          console.log(data);
        },
      });  
Not without some kind of proxy between the client and server. - zero298
Please don't create new accounts just to re-ask the same question. - David