LANGUAGE/NODE.JS 2016. 3. 13. 19:14

///// Nodejs (노드제이에스)


자바에서는 스프링 프레임워크에서 지원해주는 RestTemplate로 REST API Server에 호출을 하고 값을 받을 수 있다.


노드에서는 어떻게 할까?




///// Request To REST API Server (레스트서버를 호출하기)




///// 참고

How to make remote REST call inside Node.js? any CURL?:

http://stackoverflow.com/questions/5643321/how-to-make-remote-rest-call-inside-node-js-any-curl


REST JWT(JSON Web Token)소개 - #2 node.js에서 JWT 사용하기:

http://bcho.tistory.com/1000


Calling a REST API from a NodeJS Script:

http://rapiddg.com/blog/calling-rest-api-nodejs-script


node-rest-client (REST Client for Node.js)

https://www.npmjs.com/package/node-rest-client

'LANGUAGE > NODE.JS' 카테고리의 다른 글

[Bower] 시작하기  (0) 2016.09.14
[Nodejs] nodemon, supervisor  (0) 2016.01.16
[Nodejs] forever  (0) 2016.01.16
[Nodejs] 정리중  (0) 2015.12.27
[Nodejs] 최초 설치  (0) 2015.07.21