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.