post api

백엔드

Get, Post Put API

API란? 'Application Programming Interface'의 약자로, 애플리케이션에서 제공하는 인터페이스를 의미한다. Get API Get API는 웹 애플리케이션 서버에서 값을 가져올 때 사용하는 API이다. 하단의 코드는 @GetMapping을 사용하며 매개변수를 받을 때 자주 쓰이는 방법 중 하나인 URL 자체에 값을 담아 요청을 처리하는 방법이다. import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("/api/v1/get-api") public class GetController { @GetMapping(value = "/request1/{variable}") public String h..

스핑큐스
'post api' 태그의 글 목록