Angular
Delightful Data APIs With HAPI.JS

Posting Data

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

We'll mostly likely always need to handle data submitted by a user. With Hapi, this is as simple as creating a route which responds to a POST request, in which we can handle the data coming in on the request payload. Let's add in a route for handling new airplane entries.

 

I finished! On to the next chapter