hapi — How to Reply a JSON Response
Within last week’s tutorial, you’ve learned how to reply rendered HTML for a given request. Obviously, there are situations where replying HTML won’t fit your needs and you want to send JSON data as a response. This guide will show you how to reply JSON for a …
Continue Reading