application/json
JSON data
Application
.json
MIME Type
Media Type
application/json
File Extension
.json
Usage Examples
HTTP Response Header
Content-Type: application/json
HTML Link Tag
<link rel="stylesheet" type="application/json" href="style.css">
JavaScript Fetch API
fetch('/api/data', {
headers: {
'Content-Type': 'application/json'
}
})Express.js (Node.js)
res.setHeader('Content-Type', 'application/json');
res.send(data);When to Use This MIME Type
Application MIME types are used for structured data and binary files. The Content-Type header helps browsers and APIs process the data correctly.