hapi Tutorial — How to Reply a JSON Response

Опубликовано: 04 Август 2017
на канале: Future Studio
2,929
25

Using hapi to build APIs is kind of straight forward. By default, hapi allows to reply different types of content. If you’re sending a JavaScript object as a response, hapi will create a valid JSON string out of it.

Additionally, hapi will only return actual values and functions won’t be serialized to JSON.


Find the tutorial for an easy read here: reply JSON in hapi
► https://futurestud.io/tutorials/hapi-...

Watch the video on renderering views in hapi
►   • hapi Tutorial — How to Render and Rep...  

Watch the video on setting a custom response status code in hapi
►    • hapi Tutotrial — How to Set Response ...  

Watch the playlist with all hapi videos here:
►    • hapi Tutorial — Getting Started and Y...  

----------------------------------------

Future Studio is helping 5,000+ users daily to solve Android and Node.js problems with 330+ written tutorials and videos. We’re on a mission to provide new in-depth content every week.

Checkout 330+ technical in-depth tutorials:
► https://futurestud.io

Subscribe for two new videos every week:
► https://www.youtube.com/c/FutureStudi...

----------------------------------------

Follow us on social media to get updates on new content:
►   / futurestud_io  
►   / futurestudiouniversity  
► https://plus.google.com/+FutureStudio...

----------------------------------------


Смотрите видео hapi Tutorial — How to Reply a JSON Response онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Future Studio 04 Август 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,929 раз и оно понравилось 25 людям.