반응형
iOS Swift URLSession (Alamofire 없이 http 통신)
안녕하세요 Gons 입니다. 제 블로그 통계를 보니 Alamofire 정리글 이 조회수가 가장 많아서 오늘은 URLSession 으로 알라모파이어 없이 http 통신을 해보겠습니다. 기본 Foundation 에 포함되어 있어서 따로 라이브러리 설치 안해도 됩니다. 1. GET 일단 간단하게 GET 먼저 해보겠습니다. https://jsonplaceholder.typicode.com 이 사이트에 데이터를 가져올겁니다. JSONPlaceholder - Free Fake REST API {JSON} Placeholder Free fake API for testing and prototyping. Powered by JSON Server + LowDB. Tested with XV. As of Oct 2021, ..
iOS Swift + UIKit
2022. 10. 1. 00:00
반응형