This page provides answers to some of the exercises during the course.

cURL parameters

  • -i means to include the response header</li>
  • -H means to pass a header into the request</li>
  • -X POST means to use the POST method in the request</li>
  • -d means to include data in the request</li>

Dot notation

Here’s what your dot notation should look like:

var sarahjson = john.children[0].child1;
var greenjson = john.eyes;
var nikejson = john.shoes.brand;
var goldenrodjson = john.favcolors[1];
var jimmyjson = john.children[1].child2;

Dot Notation: Windspeed

data.query.results.channel.wind.speed


Get new posts delivered straight to your inbox.

Subscriber count: 3,505