개발자 지식창고

menu-opener icon
  • 홈
  • 태그
  • 방명록
Ajax 요청시 dataType과 contentType의 의미는 무엇일까요? 포스팅 썸네일 이미지

Library/JQuery

Ajax 요청시 dataType과 contentType의 의미는 무엇일까요?

다음과 같은 ajax요청을 해본 경험이 있다면 dataType과 contentType의 의미에 대해 궁금해 한적이 한번은 있을 것 입니다. $.ajax({ url : '/signup', data : JSON.stringify(data), type : 'post', dataType: 'json', contentType: 'application/json; charset=utf-8' }).done(function(result) { console.log("회원가입 완료"); }).fail(function(xhr, status, errorThrown) { console.log("회원가입 실패"); }); dataType : 서버에서 어떤 타입을 받을 것인지를 의미합니다. 생략했을경우에는 jQuery가 MIME타입..

2023.02.22 게시됨

1

공지사항

최근글

인기글

최근 작성된 댓글

태그 클라우드

  • task runner
  • format함수
  • contentType
  • 크롬 확장
  • Chorme Extension
  • task.json
  • 가상환경
  • ajax전송
  • switch_to.frame
  • 제이쿼리
  • Selenium
  • launch.json
  • ajax요청
  • 비동기
  • 크롬 확장프로그램
  • datatype
  • Serialize
  • vscode
  • 데이터 전송
  • python
  • ajax
  • 파이썬 기본출력
  • math모듈
  • 이스케이프 문자
  • 파이썬
  • justMyCode
  • python 출력옵션
  • switch_to.default_content
  • ColorZilla
  • 외부모듈디버깅
Copyright . 베이스캠프 all rights reserved.
Designed by 베이스캠프
닫기 아이콘
사이드 프로필 배경이미지
블로그 이미지

junheekim

배우거나 알고있던 내용을 정리하는 공간입니다.

  • 분류 전체보기 (8)
    • Library (2)
      • JQuery (2)
    • Language (5)
      • Python (5)
    • Chrome Extension (1)

전체

오늘

어제

Designed by 베이스캠프

티스토리툴바