hapi Tutorial — How to Reply a JSON Response

preview_player
Показать описание
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

Watch the video on renderering views in hapi

Watch the video on setting a custom response status code in hapi

Watch the playlist with all hapi videos here:

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

Checkout 330+ technical in-depth tutorials:

Subscribe for two new videos every week:

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

Follow us on social media to get updates on new content:

----------------------------------------
Рекомендации по теме
Комментарии
Автор

Guys Could you upload Dingo api tutorial in laravel. you know what i love you that is why i suggest this

ezedinfedlu
Автор

hello sir will you tell me how to convert json data into geojson data in mongodb?

pankaj_talkz
welcome to shbcf.ru