- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 62字
- 2021-07-02 20:52:27
Media types
Commonly referred to as MIME (Multipurpose Internet Mail Extensions) types, media types are used to identify the format of an HTTP message body. A media type is of the {type/subtype} format; examples are as follows:
- text/html
- image/png
- audio/mpeg
- video/avi
A request can be as follows:
GET: Host: Accept:application/json, text/javascript
The client is specifying which format it can receive data in.
推薦閱讀
- 從零開始:數(shù)字圖像處理的編程基礎(chǔ)與應(yīng)用
- Spring 5企業(yè)級開發(fā)實戰(zhàn)
- HoloLens Beginner's Guide
- JavaScript 網(wǎng)頁編程從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開發(fā)視頻大講堂)
- Building Cross-Platform Desktop Applications with Electron
- iOS開發(fā)實戰(zhàn):從入門到上架App Store(第2版) (移動開發(fā)叢書)
- Python Data Structures and Algorithms
- ServiceNow:Building Powerful Workflows
- INSTANT Silverlight 5 Animation
- Emgu CV Essentials
- 鴻蒙OS應(yīng)用編程實戰(zhàn)
- Solutions Architect's Handbook
- 硬件產(chǎn)品設(shè)計與開發(fā):從原型到交付
- Photoshop智能手機APP界面設(shè)計
- Swift High Performance