ResponseHeader / RequestHeader

Nyongcha.·2022년 11월 10일

https://thalals.tistory.com/268
(ResponseEntity란?)
https://jw910911.tistory.com/117
(Content-Type 에 대해 알아보자)
https://mungto.tistory.com/440
(Header에서 데이터 가져오기 @RequestHeader)

BaseURL에 RestRequest : https://api.lbkex.com/

RequestHeader : application/x-www-form-urlencoded
(관련:contentType)

👉Lbank에

Header는 컨텍스트에 따라 그룹핑
General header: 요청과 응답 모두에 적용되지만 바디에서 최종적으로 전송되는 데이터와는 관련이 없는 헤더.
Request header: 페치될 리소스나 클라이언트 자체에 대한 자세한 정보를 포함하는 헤더.
Response header: 위치 또는 서버 자체에 대한 정보(이름, 버전 등)와 같이 응답에 대한 부가적인 정보를 갖는 헤더.
Entity header: 컨텐츠 길이나 MIME 타입과 같이 엔티티 바디에 대한 자세한 정보를 포함하는 헤더.

*컨텍스트: 그때그때 상황에 맞게끔, 실행/판단/결정 등을 해야하는 부분
컨텍스트 그룹핑 (context grouping)
. 그 메뉴를 호출한 동작 및 상황에 따라, 다르게 선택 사항들이 그룹으로 묶여짐.

Http헤더

https://developer.mozilla.org/ko/docs/Web/HTTP/Headers

0개의 댓글