Alamofire - boostcamp-2020/IssueTracker-13 GitHub Wiki
์ฐธ๊ณ ์ฌ์ดํธ raywenderlich
๋คํธ์ํฌ์ ๊ด๋ จ๋ ๊ธฐ๋ณธ ๊ฐ๋
HTTP is an application protocol used to transfer data from a server to a client, such as a web browser or an iOS app. HTTP defines several request methods that the client uses to indicate the desired action. For example:
GET: Retrieves data, such as a web page, but doesnโt alter any data on the server.
HEAD: Identical to GET, but only sends back the headers and not the actual data.
POST: Sends data to the server. Use this, for example, when filling a form and clicking submit.
PUT: Sends data to the specific location provided. Use this, for example, when updating a userโs profile.
DELETE: Deletes data from the specific location provided
REST, or REpresentational State Transfer, is a set of rules for designing consistent web APIs. REST has several architecture rules that enforce standards like not persisting states across requests, making requests cacheable and providing uniform interfaces. This makes it easy for app developers to integrate the API into their apps without having to track the state of data across requests.
Alamofire์ ์ฌ์ฉํ ์ด์ ?
์ฒ์์๋ URLSession๋ฅผ ์ด์ฉํ๋ ค ํ๋๋ฐ, networking๊ด๋ จํด์ ํฌ์ํ ์๊ฐ์ด ๋ง์ง ์์์ ๊ฐ์ฅ ์ธ๊ธฐ์๊ณ , ์ค์ ๋ก๋ ๋ง์ด ์ฐ๋ Alamofire๋ฅผ ์ ํํ์ต๋๋ค Json ํ์ฑ ๋ถ๋ถ๋ํ codable์ ์ด์ฉํ์ฌ ๊ฐํธํ๊ฒ ์งํ ํ ์ ์์์ต๋๋ค.