June 2017
Intermediate to advanced
400 pages
10h 32m
English
Web handlers can return a variety of content types, for example, they can return JSON, plain text, images, and more. Frequently, when communicating with APIs, it's possible to specify and accept content type to clarify what format you'll pass data in as and what data you want to receive back out.
This recipe will explore using unrolled/render and a custom function to negotiate content type and respond accordingly.
Read now
Unlock full access