Documents / @faasjs/dev / ContentType
Variable: ContentType
constContentType:object
Common content type aliases used by the HTTP plugin.
Built-in keys include plain, html, xml, csv, css, javascript,
json, and jsonp. HttpSetContentType also accepts raw MIME strings.
Index Signature
[key: string]: string
Example
const contentType = ContentType.json