The api i am trying to connect to uses setRequestHeader in which I use my api key. How do i translate that to wix code?
xmlhttp.open(“GET”, “https://api-url.somthing/”, true);
xmlhttp.setRequestHeader(“client-id”, “mykey”);
xmlhttp.send();
Thanks for your help.