-
Notifications
You must be signed in to change notification settings - Fork 4
Alamofire
참고 사이트 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.
처음에는 URLSession를 이용하려 했는데, networking관련해서 투자할 시간이 많지 않아서 가장 인기있고, 실제로도 많이 쓰는 Alamofire를 선택했습니다 Json 파싱 부분또한 codable을 이용하여 간편하게 진행 할 수 있었습니다.
Boostcamp IssueTracker 13