```
curl --data @login.xml https://xxxxx/index.php/api/v2_soap/?wsdl=1.

```

How to change this curl request into a HTTP GET call? or else is that any way to call this curl in Meteor directly.

login.xml contains 

```
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
    <MAGE:login xmlns:MAGE="http://xxxxxx/api/v2_soap/?wsdl=1">
        <MAGE:username>xxxxxxxx</MAGE:username>
        <MAGE:apiKey>xxxxxxxxx</MAGE:apiKey>
    </MAGE:login>
</SOAP-ENV:Body>

```

i want to call the curl like this :

```
HTTP.get("https://domain/v1/query?v=20150910&lang=en&query=", {
 headers: {
   Authorization: "Bearer XXXXXXXXXXXXXXXXXXXXXXXX"
  }
});

```