This lesson is for PRO members.

Unlock this lesson NOW!
Already subscribed? sign in

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

4:41 Node.js lesson by

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.

Get the Code Now
click to level up

egghead.io comment guidelines

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?