Parsing web pages/data to control servos/leds?

Hi,

Having spent the weekend learning from some great resources i seemed to have hit a wall…

Using this tutorial here i have created the webhook with the set of data i need from here

Using this json file

{
  "event": "surf_hook",
  "url": "http://magicseaweed.com/api/252522525252525252525252525/forecast/?spot_id=1253",
  "requestType": "POST",
  "headers": null,
  "query": null,
  "responseTemplate": "{{#swell}}{{#components}}{{combined.period}}~{{combined.height}}{{/components}}{{/swell}}",
  "json": null,
  "auth": null,
  "mydevices": true
}

When i publish this webhook from the cli it doesnt return any data

Where as if i use the tutorial using webhooks here its fine…ive tried comparing the json files and the strucure of the data but cant see why one returns data and the other one doesnt?? I have a lot to learn so im hoping its a simple oversight…but i cant see it

What im hoping to achieve is to take what i created Arduino WAVEbuouy here but using webhooks and the core.

Any pointers would be greatly appreciated

  Serial.begin(9600);
  pinMode(red   ,OUTPUT);
  pinMode(green ,OUTPUT);
  pinMode(blue  ,OUTPUT);
  if (Ethernet.begin(mac) == 0)
  { // start ethernet using mac & IP address
    while(true) ;
  }
  delay(2000); // give the Ethernet shield 2 second to initialize
}
void loop()
{
  if (client.connect(serverName, 80)>0) {
    client.println("GET http://www.ndbc.noaa.gov/data/latest_obs/62081.rss");
  }
  if (client.connected()) {
    if(client.find("Significant Wave Height:"))
    {//look for the wave height and pass the value to variable
      waveheight = client.parseFloat();
  }
  else{
    digitalWrite(13,HIGH);
  }
  //The code below lights up RGB module light depending on the wave height
   if ((waveheight>=0)&&(waveheight<3))
   {
     analogWrite(red   ,0  );
     analogWrite(green ,0  );
     analogWrite(blue  ,255);
   }
   if ((waveheight>=3)&&(waveheight<8))
   {
     analogWrite(red   ,0);
     analogWrite(green ,255 );
     analogWrite(blue  ,0);
   };
   if ((waveheight>=8)&&(waveheight<100))
   {
     analogWrite(red   ,255 );
     analogWrite(green ,0);
     analogWrite(blue  ,0);
   }

<img src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/particle/original/2X/b/bda905de3d87ffc50e27282e9b517b03726abcc0.jpg" width="690" height="307">