keecode logokeecode
Home / MIME Types / application/xml

application/xml

XML application data

Application
.xml

MIME Type

Media Type

application/xml

File Extension

.xml

Usage Examples

HTTP Response Header

Content-Type: application/xml

HTML Link Tag

<link rel="stylesheet" type="application/xml" href="style.css">

JavaScript Fetch API

fetch('/api/data', {
  headers: {
    'Content-Type': 'application/xml'
  }
})

Express.js (Node.js)

res.setHeader('Content-Type', 'application/xml');
res.send(data);