Troubleshooting of HTTP errors: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 17: | Line 17: | ||
: https://http.cat/200.jpg | : https://http.cat/200.jpg | ||
: [https://http.cat/ HTTP Cats] | : [https://http.cat/ HTTP Cats] | ||
Related websites | |||
* [https://httpstatusdogs.com/ HTTP Status Dogs] | |||
{{Template:Troubleshooting}} | {{Template:Troubleshooting}} | ||
[[Category:Programming]] | [[Category:Programming]] | ||
Revision as of 18:57, 7 June 2021
404 File Not Found
415 Unsupported Media Type
解決方法:「於請求中設置的 Content-Type 或 Content-Encoding 或對資料的直接訪問」。參考資料:415 Unsupported Media Type - HTTP | MDN
例如:RESTful API 遇到該錯誤,可能解決方式是 HTTP Headers 加入
Content-Type: application/json
Related websites
Troubleshooting of ...
- PHP, cUrl, Python, selenium, HTTP status code errors
- Database: SQL syntax debug, MySQL errors, MySQLTuner errors or PostgreSQL errors
- HTML/Javascript: Troubleshooting of javascript, XPath
- Software: Mediawiki, Docker, FTP problems, online conference software
- Test connectivity for the web service, Web Ping, Network problem, Web user behavior, Web scrape troubleshooting
Template
