Cokes Blog
GitHub 포트폴리오
close
프로필 배경
프로필 로고

Cokes Blog

  • 분류 전체보기 (176)
    • 일상 (1)
    • 파이썬 (33)
    • Back-End (56)
      • JAVA (10)
      • Spring(Boot) (42)
      • PHP (4)
    • Front-End (15)
      • HTML-CSS (2)
      • JavaScript (4)
      • Vue.js (8)
      • TypeScript (0)
      • React (1)
    • DB (1)
    • 알고리즘, 코딩 문제풀기 (38)
    • DevOps (12)
      • Jenkins (5)
      • Docker-Kubernetes (3)
      • AWS (4)
    • Build tools (2)
      • Gradle-Maven (2)
    • Linux (3)
    • Git (2)
    • 자격증 (1)
    • 기타 (4)
    • 번외 Project (7)

    스프링 WebClient로 graphql 서버에 요청응답받기

    org.springframework.boot spring-boot-starter-webflux 3.0.2 com.graphql-java-kickstart graphql-webclient-spring-boot-starter 1.0.0 WebClient 가 webflux에 포함되어 있습니다. WebClient webClient = WebClient .builder() .baseUrl("https://apijosu.com/graphql") .defaultHeader("Authorization", "Bearer user token") .defaultHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE) .build(); WebClient로 get,..

    • format_list_bulleted Back-End/Spring(Boot)
    • · 2023. 1. 27.
    • textsms
    스프링 요청방식 어노테이션 @RequestMapping / @GetMapping / @PostMapping

    스프링 요청방식 어노테이션 @RequestMapping / @GetMapping / @PostMapping

    Request(응답)로는 get방식과 post 방식이 있다. @RequestMapping 어노테이션을 사용하는 방법이다. method 파라미터에 RequestMethod.GET, POST로 응답 받을 수 있다. @RequestMapping(value="/test", method = RequestMethod.GET) public String test() { return "test"; } @RequestMapping(value="/test", method = RequestMethod.POST) public String test() { return "test"; } 이 어노테이션을 간단하게 만들어주는 어노테이션이 있다. @GetMapping 과 @PostMapping 이 있다. 사용방법은 다음과 같다. @Ge..

    • format_list_bulleted Back-End/Spring(Boot)
    • · 2021. 3. 5.
    • textsms
    • navigate_before
    • 1
    • navigate_next
      Cokes Blog
      호두와 녹두
      반응형
      전체 카테고리
      • 분류 전체보기 (176)
        • 일상 (1)
        • 파이썬 (33)
        • Back-End (56)
          • JAVA (10)
          • Spring(Boot) (42)
          • PHP (4)
        • Front-End (15)
          • HTML-CSS (2)
          • JavaScript (4)
          • Vue.js (8)
          • TypeScript (0)
          • React (1)
        • DB (1)
        • 알고리즘, 코딩 문제풀기 (38)
        • DevOps (12)
          • Jenkins (5)
          • Docker-Kubernetes (3)
          • AWS (4)
        • Build tools (2)
          • Gradle-Maven (2)
        • Linux (3)
        • Git (2)
        • 자격증 (1)
        • 기타 (4)
        • 번외 Project (7)
      최근 글
      인기 글
      최근 댓글
      태그
      • #코딩테스트
      • #Java
      • #python
      • #문자열
      • #자바
      • #pyqt
      • #백준
      • #코딩
      • #파이썬
      • #알고리즘
      전체 방문자
      오늘
      어제
      전체
      Copyright © 쭈미로운 생활 All rights reserved.
      Designed by JJuum

      티스토리툴바