일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- css3
- php
- iOS 개발자
- 비전공 개발자
- 자바스크립트
- hover
- javascript
- iPhone
- MAC
- button
- image
- IOS
- Animation
- 백엔드
- effect
- ipad
- jQuery
- 애니메이션
- front-end
- 프론트엔드
- SWIFT
- CSS
- HTML
- 풀스택
- xcode
- react
- 개발자
- html5
- keyframes
- 비전공자
- Today
- Total
비전공자 개발일기
Beer List (PunkAPI, Postman, GCD, URLSession) 본문
PunkAPI
https://punkapi.com/documentation/v2
Punk API: Brewdog's DIY Dog as an API
If you would like to contribute to keeping the lights on and the maintenance of Punk API, I'm accepting donations through these channels BTC ETH LTC
punkapi.com
Postman
Postman API Platform | Sign Up for Free
Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
www.postman.com
GCD(Grand Central Dispatch)
Apple Inc. 에서 멀티 코어 프로세서 및 기타 대칭형 멀티프로세싱 시스템 이 있는 시스템에 대한 애플리케이션 지원을 최적화하기 위해 개발한 기술
https://en.wikipedia.org/wiki/Grand_Central_Dispatch
Grand Central Dispatch - Wikipedia
Technology developed by Apple Inc Grand Central Dispatch (GCD or libdispatch), is a technology developed by Apple Inc. to optimize application support for systems with multi-core processors and other symmetric multiprocessing systems.[2] It is an implement
en.wikipedia.org
DispatchQueue.main.async {
self.tableView.reloadData()
}
URL(Uniform Resource Locator)
http://(https://) | www.youtube.com | (:8080) | /results?search_query=%EC%9B%94%EB%93%9C%EC%BB%B5 |
프로토콜( ex) FTP, MAILTO) | 웹 서버명 -> DNS명 -> IP 주소 | 포트명 | 데이터 출처(resource) 경로 |
Request, Response | 네트워크 계층(IP) | 전송 계층(PORT) | 응용 계층 |
※ OSI(Open Systems Interconnection) 7계층
물리계층 -> 데이터 링크 계층 -> 네트워크 계층 -> 전송 계층 -> 세션 계층 -> 표현 계층 -> 응용 계층
Request(요청)
Method | URL | Header | Body |
무언가를 하세요 | 리소스에 대해서 | 구체적으로 어떻게 |
Method | |
GET | 식별된 데이터 가져오기 |
POST | 새 데이터를 추가 |
PUT | 식별된 기존의 데이터 수정(업데이트) |
PATCH | PUT과 동일하지만 데이터의 일부를 수정 |
DELETE | 식별된 데이터 삭제 |
HEAD | GET과 동일하지만 메시지 헤더만 반환 |
CONNECT | 프락시 기능 요청 |
OPTIONS | 웹서버에서 지원하는 메소드 확인 |
TRACE | 원격 서버 테스트용 메시지 확인 |
GET vs POST | |
GET | POST |
https://oooooooo.co.kr/account?id=jpn&pw=1234 | https://oooooooo.co.kr/account |
Response(응답)
Status Code | Message | Header | Body |
Status Code | |
1xx(100 ~ 199) | 정보 전달(Request 수신, 진행중) |
2xx(200 ~ 299) | 성공(Request 성공적으로 수신, 해석, 승인) |
3xx(300 ~ 399) | Redirection |
4xx(400 ~ 499) | Client ERROR |
5xx(500 ~ 599) | Server ERROR |
https://github.com/munsangu/SWIFT_Prac/tree/main/MyTwentySeventhiOS
GitHub - munsangu/SWIFT_Prac
Contribute to munsangu/SWIFT_Prac development by creating an account on GitHub.
github.com
'SWIFT' 카테고리의 다른 글
LaunchScreen(Basic + Custom) & sleep (0) | 2023.01.02 |
---|---|
Covid-19 Vaccination Center (SwiftUI, Combine, OpenAPI) (0) | 2022.12.31 |
Netflix Style Main Display (0) | 2022.12.27 |
Credit Card List & Detail (Realtime Database, Firestore Database) (0) | 2022.12.25 |
Egg Timer (0) | 2022.12.24 |