하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

express.js에서 curl 호출 방법 [post]

curl -X POST --data "payload={\"text\": \"invalid token exception\"}" http://google.com 위와 같은 curl을 express.js에서 호출해야한다면? 아래와 같이 "request"를 이용하자 var request = require('request'); request.post({ headers: {'content-type' : 'application/json'} , url: , body: } , function(error, response, body){ console.log(body); });

  • format_list_bulleted Programming/Javascript
  • · 2021. 2. 16.
  • textsms

A: Secure Sessions Howto

Secure sessions with Node.js, Express.js, and NginX as an SSL ProxyRawA: Secure Sessions HowtoSecure sessions are easy, but not very well documented. Here's a recipe for secure sessions in Node.js when NginX is used as an SSL proxy: The desired configuration for using NginX as an SSL proxy is to offload SSL processing and to put a hardened web server in front of your Node.js application, like: [..

  • format_list_bulleted Life/Tip
  • · 2021. 2. 2.
  • textsms

[javascript] 소수점 올림,내림,반올림,자리수

var number = 1.5555 // 내림 : 1Math.floor(number) // 올림: 2Math.ceil(number) // 반올림: 2Math.round(number) // 소수점 자리수 자르기: 1.55number.toFixed(2) 더 자세한 정보는 아래링크 참조https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Math

  • format_list_bulleted Programming/Javascript
  • · 2021. 1. 19.
  • textsms

springboot + kotlin + zull proxy 예제

build.gadle 에 netflix-zuul 추가 implementation("org.springframework.cloud:spring-cloud-starter-netflix-zuul") WebApplication.kt에 annotation 추가 @EnableZuulProxy application.yml에 zuul routes 추가 zuul: routes: user-api: path: /user/** url: http://api.com stripPrefix: true /users/** 로 들어오는 응답을 api.com으로 응답을 보내고 받는다. stripPrefix 옵션은 path 부분을 잘라서 보낼지 여부이다.

  • format_list_bulleted Programming/Springboot
  • · 2020. 12. 29.
  • textsms

git remote branch 일괄삭제

- local 브런치 일괄삭제 git branch -D $(git branch --list 'feature/*') - 불필요한 remote branch를 일괄삭제하는 방법 (branch 부분을 적당히 변경하면 된다) git branch -r | grep -Eo 'feature/.*' | xargs -I {} git push origin :{} - 삭제한 remote branch와 local branch를 동기화 하려면 아래 명령어 이용 git fetch --all --prune git remote prune origin

  • format_list_bulleted Programming/Git
  • · 2020. 12. 7.
  • textsms

[express.js] express server reload 하는 방법

> install nodemon -g > nodemon app.js node 대신 nodemon으로 실행한다.

  • format_list_bulleted 카테고리 없음
  • · 2020. 12. 3.
  • textsms
  • navigate_before
  • 1
  • ···
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • ···
  • 37
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #javascript
  • #GIT
  • #JPA
  • #AngularJS
  • #sts
  • #MySQL
  • #css
  • #Vue
  • #springboot
  • #error
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바