Thanks a lot Holger Il giorno mercoledì 22 aprile 2015 11:12:54 UTC+2, [email protected] ha scritto: > > Hi all, > > Im wondering if is possible to implement an AJAX GET or POST call inside a > SPINx function. > I tried this but is not working: > > var url = MYLOCALURL > > var params = MYPARAMS; > > http.open("GET", url, true); > > > //Send the proper header information along with the request > > http.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); > > http.setRequestHeader("Content-length", params.length); > > http.setRequestHeader("Connection", "close"); > > > http.onreadystatechange = function() {//Call a function when the state > changes. > > if(http.readyState == 4 && http.status == 200) { > > return (http.responseText); > > } > > } > > http.send(params); > > > Also wondering if we can implement JAVA code using SPINx > > > Thanks > > > Antonino Lo Bue > > >
-- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
