powered by
Convenient functions for more readable content type headers.
content_html()content_plain()content_json()content_csv()content_tsv()content_protobuf()
content_plain()
content_json()
content_csv()
content_tsv()
content_protobuf()
Length 1 character vector.
list( "Content-Type", content_json() ) if(FALSE) req$header( "Content-Type", content_json() )
Run the code above in your browser using DataLab