Troubleshooting of HTTP errors

From LemonWiki共筆
Revision as of 10:34, 9 March 2021 by Unknown user (talk) (Created page with "{{Draft}} == 415 Unsupported Media Type == 解決方法:「於請求中設置的 {{kbd | key=Content-Type}} 或 {{kbd | key=Content-Encoding}} 或對資料的直接訪問...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


icon_scale_pencil.png This article "Troubleshooting of HTTP errors" is still being written. If there are any incomplete parts, you are welcome to directly edit them. 這篇文章「Troubleshooting of HTTP errors」內容還在撰寫中,如果有不完整的部分,歡迎你直接動手修改



415 Unsupported Media Type

解決方法:「於請求中設置的 Content-TypeContent-Encoding 或對資料的直接訪問」415 Unsupported Media Type - HTTP | MDN

例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入

Content-Type: application/json


Troubleshooting of ...

Template