hapi.js - Replying to Requests

Share this video with your friends

Send Tweet

hapi's reply interface is one of it's most powerful features. It's smart enough to detect and serialize objects, buffers, promises and even streams. This video will demonstrate first hand how to use the reply method to send your data to the client, no matter the format.

PPSong
PPSong
~ 9 years ago

Hi,

First of all, thanks for the lesson I'd like to know what tool/module/package do you use for this command: 'http GET localhost:8000'?

Looking forward to your reply, thanks!

Mike Frey
Mike Frey(instructor)
~ 9 years ago

I'm using a python util called httpie.