Asserts UTF-8 encoding.

content(x, type = "application/json")

Arguments

x

A request object

type

MIME type