mulder's it blog

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

sop 2

mobile app개발시 cors enable , same origin policy 극복하기

mobile api를 개발하거나, json api proxy가 필요한경우 고민하지 말고 아래의 솔루션을 이용하자. $ sudo npm install -g cors-proxy-serverPassword:/usr/local/bin/cors-proxy-server -> /usr/local/lib/node_modules/cors-proxy-server/index.js+ cors-proxy-server@1.0.2added 5 packages in 2.018s $ $ cors-proxy-server [Mon Dec 04 2017 10:56:56 GMT+0900 (KST)] - CORS Proxy Server started on 0.0.0.0:9090 이제 아래와 같이 접속 어디든 접속 가능하다. http://loc..

프로그램/script 2017.12.04

jsonp springmvc example

아래는 일반적인 javascript ajax 에 대한 설명이 아니라, Same origin policy를 극복하기 위한 방법을 설명 합니다. jsonp (Json with padding)란 CrossDomain ( Same Origin Policy) 을 극복하기 위한 javascript 비동기 통신 방법을 말합니다. javascript에서 타도메인의 url 로부터 값을 가져오는건 원천적으로는 금지 되어 있습니다. 이러한 규칙을 Same Orgigin Policy 라고 하죠, (관련된 위키 자료 : http://en.wikipedia.org/wiki/Same_origin_policy ) 보통 javascript 원격호출은 XMLHttpRequest 를 이용한 Ajax Remote Call 이 일반적인 ja..

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

mulder's it blog

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

  • 분류 전체보기 (578)
    • 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)
    • 멀더가 사는 모습 (33)
    • 편하게 살자 (61)
    • 캠핑 (9)
    • zimbra (6)
    • tomcat (7)
    • mail (4)
    • private (0)
    • 맛집.멋집.스크랩 (3)
    • docker (1)

Tag

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 멀더의 세상에 대해서

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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 © AXZ Corp. All rights reserved.

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

티스토리툴바