반응형
[2022.08.23] How to solve 415 error on ajax?
원인
- AJax 요청을 했을 때, ContentType을 명시하지 않았기 때문에 오류가 발생했던 것
해결방법
- AJax 요청 시 contentType: "application/json 추가
반응형
'prcExp' 카테고리의 다른 글
[2022.08.23] How do I get the text value of a selected option Using JS? (0) | 2022.08.23 |
---|---|
[2022.08.23] How to commit SVN on intellij? (0) | 2022.08.23 |
[2022.08.23] How to move tabs on the current page using JS? (0) | 2022.08.23 |
[2022.08.19] How to get the most out of alerts? (0) | 2022.08.19 |
[2022.08.15] How to solve the server responded with a status of 415 (Unsupported Media Type)? (0) | 2022.08.15 |
댓글