Xively calls with webhooks

Has anyone worked out how to call Xively gets and puts. It needs a header with the API key. I’m not sure how to do that with blynk webhooks. This is what the curl looks like using Arduino yun:

apiString = F(“X-ApiKey: “);
apiString += APIKEY;
Process xively;
// form the string for the URL parameter:
url = F(“https://api.xively.com/v2/feeds/”);
url += sFeed;
url += F(”/datastreams/”);
url += dataStream;
url += F(".csv");

// Send the HTTP GET request to xively.com
xively.begin(F(“curl”));
xively.addParameter(F("-k"));
xively.addParameter(F("–request"));
xively.addParameter(F(“GET”));
xively.addParameter(F("–header"));
xively.addParameter(apiString);
xively.addParameter(F("–verbose"));
xively.addParameter(url);
xively.run();

This is what it looks like using VBA:

Dim PutData As String
Dim MyRequest As Object
feed = "96473"
PutData = "8," + "2013-01-27T00:00:00Z," + "0" + vbCrLf

Set MyRequest = CreateObject("WinHttp.WinHttpRequest.5.1")
MyRequest.Open "PUT", "http://api.xively.com/v2/feeds/" + feed + ".csv"
MyRequest.setRequestHeader "X-PachubeApiKey", "blahblah"
MyRequest.setRequestHeader "Content-Length", Len(PutData)

' Send Request.
MyRequest.send (PutData)