HttpContentType
*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡。
指定 HTTP 內容類型頭銜值,用於描述 HTTP 請求資料類輸入。
道具
名稱 | 值 | 概要 |
---|---|---|
ApplicationJson | 0 | 代表 "應用程式/JSON" 內容類型。 |
ApplicationXml | 1 | 代表 "應用程式/XML" 內容類型。 |
ApplicationUrlEncoded | 2 | 代表 "應用程式/x-www-form-urlencoded" 內容類型。 |
TextPlain | 3 | 代表 "text/plain" 內容類型。 |
TextXml | 4 | 代表「text/xml」內容類型。 |