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 POST request for a Swagger API

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

4:41
This lesson shows you how to create the functions defined in the Todo API specification to create new Todo items when received in HTTP POST methods. You will also see the errors you will get when CORS is not properly configured and how to resolve them by installing the NPM CORS package.
Watch this lesson now
Avatar
egghead.io

This lesson shows you how to create the functions defined in the Todo API specification to create new Todo items when received in HTTP POST methods. You will also see the errors you will get when CORS is not properly configured and how to resolve them by installing the NPM CORS package.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?