restapi #REST #api

Development/Java

Rest API ๋ž€

REST API ์ •์˜ REST API๋ผ๋Š” ๋‹จ์–ด์—์„œ ์‚ฌ์šฉ๋˜๋Š” REST( REpresentational State Transfer ์˜ ์•ฝ์ž๋กœ ์†Œํ”„ํŠธ์›จ์–ด ํ”„๋กœ๊ทธ๋žจ ์•„ํ‚คํ…์ฒ˜์˜ ํ•œ ํ˜•์‹์ž…๋‹ˆ๋‹ค.) ํ•œ๊ตญ๋ง๋กœ ํ’€์–ด๋ณด์ž๋ฉด ์ž์›์„ ์ด๋ฆ„(์ž์›์˜ ํ‘œํ˜„)์œผ๋กœ ๊ตฌ๋ถ„ํ•˜์—ฌ ํ•ด๋‹น ์ž์›์˜ ์ƒํƒœ(์ •๋ณด)๋ฅผ ์ฃผ๊ณ  ๋ฐ›๋Š” ๋ชจ๋“  ๊ฒƒ ๊ฐœ๋…์„ ํ•œ ์ค„๋กœ ์ •์˜ํ•˜์ž๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. HTTP ํ†ต์‹ ์—์„œ ์–ด๋–ค ์ž์›์— ๋Œ€ํ•œ CRUD ์š”์ฒญ์„ Resource์™€ Method๋กœ ํ‘œํ˜„ํ•˜์—ฌ ํŠน์ •ํ•œ ํ˜•ํƒœ๋กœ ์ „๋‹ฌํ•˜๋Š” ๋ฐฉ์‹ REST API์˜ ๋“ฑ์žฅ์€ 2000๋…„๋„์˜ HTTP์˜ ์ฃผ์š” ์ €์ž ์ค‘ ํ•œ ์‚ฌ๋žŒ์ธ ๋กœ์ด ํ•„๋”ฉ์ด ๊ทธ ๋‹น์‹œ ์›น ์„ค๊ณ„์˜ ์šฐ์ˆ˜์„ฑ์— ๋น„ํ•ด ์ œ๋Œ€๋กœ ์‚ฌ์šฉ๋˜์ง€ ๋ชปํ•˜๋Š” ๋ชจ์Šต์— ์•ˆํƒ€๊นŒ์›Œํ•˜๋ฉฐ ์›น์˜ ์žฅ์ ์„ ์ตœ๋Œ€ํ•œ ํ™œ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์•„ํ‚คํ…์ฒ˜(Architecture : ์‹œ..

Android_DevKick
'restapi #REST #api' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก