The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Create a Node.js function for an HTTP GET request for a Swagger API

Create a Node.js function for an HTTP GET request for a Swagger API

5:42
This lesson will teach you how to create the javascript functions defined by the Swagger specification to return all Todo items to the client when requested with an HTTP GET method.
Watch this lesson now
Avatar
egghead.io

This lesson will teach you how to create the javascript functions defined by the Swagger specification to return all Todo items to the client when requested with an HTTP GET method.

Avatar
John

Good program but a big hiccup from me. We barely got started and I discovered I had to download and set up Elasticsearch. There is also no data to work with, but the tutorial assumes seven todos in the Elasticsearch database. I suggest you add an Elasticsearch basic tutorial that includes using Kibana to enter the raw todos and make it a recommended prerequisite. Either that or add enough on Elasticsearch to get the student running and then put the PUT API first rather than last.

In reply to egghead.io
Avatar
Will

Right on John, good points.
Thanks for the feedback!

In reply to John
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?