์คํ๋ง ํ์ผ ์ ๋ก๋1 [devTool] postman์ผ๋ก ํ์ผ ์ ์ก ํ ์คํธ postman์ผ๋ก ํ์ผ ์ ์ก ํ ์คํธ(Rest API) ๐ postman์ ์ด์ฉํด์ ์คํ๋ง ํ์ผ ์ ๋ก๋ ํ ์คํธํ๋ ๋ฐฉ๋ฒ์ ์๊ฒ๋์ด ๊ธฐ๋กํ๋ค. ๊ทธ๋์์ html์ผ๋ก form์ ๋ง๋ค์ด์ ํ์๋๋ฐ.. ๐ ๋ฐฉ๋ฒ์ ์์ฃผ ์ฝ๋ค. ๋น์ฐํ ์ ์ก๋ฐฉ์์ POST๋ก ์ ํ Body > form-data > key > File๋ก ์ ํ > value์ Select Files ์ ํ ์ ํ์ผ ์ ๋ก๋๊ฐ ๊ฐ๋ฅํ๋ค. ์ค์ ๋ก ์๋ฒ์์ ์ ๋ฐ์์ง๋์ง ํ ์คํธ๋ฅผ ํด๋ณด๊ฒ ๋ค. ์ปจํธ๋กค๋ฌ ์์ฑ ํ ๋ก๊ทธ๋ฅผ ์ฐ์ด์ ์ ๋ค์ด์ค๋์ง๋ง ํ์ธ ํด๋ณด๊ฒ ๋ค. controller package study.lsyrestapitest1.controller.api; import lombok.RequiredArgsConstructor; import lombok.extern.sl.. IT/development 2023. 1. 30. ์ด์ 1 ๋ค์