Http Get method in a Template node?

Hi guys,

I would like to create a button in a Template Node which sends a GET method (to turn the camera to a predefined position).
For the curious it looks like that :wink:
Here is the html code for the N°2 button :

<button width="10px" eight="10px" type="button"

Note: the http link works well with a Dashboard : Button + an http Request node set to GET method

Can someone help me find the code so that "onclick" can be a GET method?

Thank you

@BartButenaers purpose me this ajax() method :

      <button id="preset_1" width="10px" eight="10px" type="button">2</button> 
         // Add your Javascript here, between the 'script' tags ...
         $(document).ready(function() {
            // As soon as the document is loaded, add a click event handler to your preset button
            $("#preset_1").click(function(e) {
$.ajax({type: "GET", url: "http://user:pass@",

But Chrome don't give up for security reasons :

When I have more time and experience, as proposed @andrei I could study the Fetch API

But meanwhile, the only thing that I found that works but is not at all sexy, is the use of the <form> tag with which I can access my request, without security alert:

<form action = "http://user:pass@" target = "_ blanc" method = "GET">
            <input type = "text" name = "cmd" value = "preset">
            <input type = "text" name = "- act" value = "goto">
            <input type = "text" name = "- status" value = "1">
            <input type = "text" name = "- number" value = "1">
            <input type = "submit" value = "Go!">

...but open a new [succeed] tab :weary:

Question : is it possible to format this last code so that only one or more buttons are displayed, AND not to open a new tab [succeed]?