Back-end/Ajax
-
[Ajax]Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported 에러 대처법Back-end/Ajax 2020. 6. 1. 17:39
ajax 통신하다 에러를 발견하였다. Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported 일단 ajax 호출할때의 코드이다. 생각보다 많이 간단했다. ajax 호출시 'contentType: 'application/json'를 넣어주면 간단히 해결 될 문제였다. contentType: 'application/json',