-
1 minute read
PUT API PutApiController.java package com.example.put; import dto.PostRequestDto; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/api") public class PutApiController { @PutMapping("/put") // public void put(@RequestBody PostRequestDto requestDto){ // System.out.println(requestDto); public PostRequestDto put(@RequestBody PostRequestDto requestDto){ return requestDto; // κ°μ²΄(ν΄λμ€)μ ννμ μ΄λ¦μ λ£°μ κ°μ§κ³ λ°λ‘ μ μ΄μ¨μ λ°μ΄ν°λ‘ λ°κΏμ responseκ° λ΄λ €κ°λλ‘ ν ...
Continue reading...
-
1 minute read
JSON JSON : JavaScript Object Notation λ€νΈμν¬λ₯Ό ν΅ν΄ λ°μ΄ν°λ₯Ό μ£Όκ³ λ°λ λ°μ΄ν° νμ key(name) - value ν μ { "key : name" } string / number / boolean / objecet : { } / array : [ ] ex) { //string "phone_number" : "010-1234-5678", //number "age" : 10, //boolean "isAgree"...
Continue reading...
-
6 minute read
κ°λ¨ν νμ΄μ§ ꡬν 리ν©ν λ§ HTML <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>μ°μ
λνκ΅</title> <link rel="stylesheet" href="style/style.css"> </head> <body> <!-- ν€λ μμ --> <div id="headerWrap"> <header id="header" class="flex-container"> <div id="siteLogo"> <a href="#"> <img src="images/headerLogo.png" alt="logo"> </a> </div> <!-- div#siteLogo --> <nav id="gnb"> <ul id="mainMenu"...
Continue reading...
-
5 minute read
μ§κΈκΉμ§ λ°°μ΄ κ±Έ νμ©ν΄ κ°λ¨ν νμ΄μ§λ₯Ό ꡬνν΄λ³΄μ! π HTML <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>μ°μ
λνκ΅</title> <link rel="stylesheet" href="style/style.css"> </head> <body> <div id="wrap"> <header id="header" class="flex-container"> <div id="headerLogo"></div> <div id="gnbMenu"> <ul id="mainMenu" class="flex-container"> <li class="mainLi"> <a href="#">λνμκ°</a> <ul class="subMenu"> <li class="subLi"><a href="#">μ΄μ₯μΈμ¬λ§</a></li>...
Continue reading...
-
1 minute read
μ μ΄μΏΌλ¦¬λ₯Ό μ΄μ©ν΄ λͺ¨λ¬ λ μ΄μ΄ νμ
ꡬννκΈ° See the Pen λͺ¨λ¬ λ μ΄μ΄ νμ
by Jinsol (@losuif) on CodePen. HTML <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Layer PopUp</title> <link rel="stylesheet" href="style/style.css"> </head> <body> <div id="wrap"> <h1>λ μ΄μ΄ νμ
ꡬν</h1> <div id="noticeLayerPop"> <a href="#">곡μ§μ¬ν νμ
νμΈ...
Continue reading...