mulder's it blog

  • Home
  • Tag
  • MediaLog
  • LocationLog
  • Guestbook
  • Admin
  • Write

json post 2

nodejs express : json post example

nodejs express : json post example in server-code : router.post('/demo/api', function(req, res, next) { req.accepts('application/json'); // input message handling var json = req.body; logger.info('name is :'+json.name); logger.info('address is :'+json.address); // output message res.json({result:'success'});}); TEST

프로그램/node 2015.11.30

jQuery Ajax json Post

data post를 http body에 직접 하는 방법이 있다... 흔히 json post라고 하는데, 아래와 같이 처리 하면 된다. Ajax Post Json Example)Client Side) $.ajax({ url: '', type: 'post', accept: 'application/json', contentType: 'application/json; charset=utf-8', data: JSON.stringify({'list': savedData}), dataType: 'json', success: function(data) { // success handle }, error: function(jqXHR,textStatus,errorThrown) { // fail handle } }); Se..

프로그램/spring 2014.02.19
이전
1
다음
더보기
프로필사진

mulder's it blog

github : https://github.com/mulderu gist : https://gist.github.com/mulderu

  • 분류 전체보기 (577)
    • cms (0)
      • wordpress (0)
    • Deep Learning (4)
    • Golf (9)
    • Good (18)
    • 프로그램 (35)
      • angularjs (2)
      • hybrid app (2)
      • web (13)
      • nosql (4)
      • spring (17)
      • joomla (2)
      • database (45)
      • jQuery (31)
      • 바로쓰는델파이 (5)
      • 델파이 (1)
      • script (70)
      • java (41)
      • struts 1.x (4)
      • struts 2.x (1)
      • flex (6)
      • android (2)
      • iphone (3)
      • ubuntu (10)
      • node (4)
      • websocket (1)
      • jeasyui (5)
      • python (2)
      • vuejs (3)
    • unix (30)
    • aws (7)
    • 윈도우즈 (6)
    • ASP (4)
    • 자전거홀릭 (13)
    • 링크 (2)
      • current (2)
    • 멀더가 사는 모습 (32)
    • 편하게 살자 (61)
    • 캠핑 (9)
    • zimbra (6)
    • tomcat (7)
    • mail (4)
    • private (0)
    • 맛집.멋집.스크랩 (3)
    • docker (1)

Tag

SVN, JavaScript, Servlet, Find, ubuntu, jquery widget, springMVC, jQuery, tomcat, SQLServer, easyui, EC2, Java, AWS, bash, ant, apache, MySQL, 자전거, spring,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 멀더의 세상에 대해서

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 멀더가 보는 세상
  • Jay's Laboratory
  • 조대협의 블로그

티스토리툴바