Troubleshooting of HTTP errors: Difference between revisions
Jump to navigation
Jump to search
→415 Unsupported Media Type
(Created page with "{{Draft}} == 415 Unsupported Media Type == 解決方法:「於請求中設置的 {{kbd | key=Content-Type}} 或 {{kbd | key=Content-Encoding}} 或對資料的直接訪問...") |
|||
| Line 4: | Line 4: | ||
== 415 Unsupported Media Type == | == 415 Unsupported Media Type == | ||
解決方法:「於請求中設置的 {{kbd | key=Content-Type}} 或 {{kbd | key=Content-Encoding}} | 解決方法:「於請求中設置的 {{kbd | key=Content-Type}} 或 {{kbd | key=Content-Encoding}} 或對資料的直接訪問」。參考資料:[https://developer.mozilla.org/zh-TW/docs/Web/HTTP/Status/415 415 Unsupported Media Type - HTTP | MDN] | ||
例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入 | 例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入 | ||