반응형
Notice
Recent Posts
Recent Comments
Link
taenyLog
Query Strings / HTTP HEADER 본문
반응형
쿼리스트링
API의 쿼리문자열에는 원하는 문자를 넣을 수 있다
어떤 키-값 쌍이든 작성할 수 있고 &로 구분하면 된다.
HTTP 헤더
일부 API의 경우엔 요청과 함께 특정헤더나 여러 헤더를 보내야한다.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
HTTP headers - HTTP | MDN
HTTP headers let the client and the server pass additional information with an HTTP request or response. An HTTP header consists of its case-insensitive name followed by a colon (:), then by its value. Whitespace before the value is ignored.
developer.mozilla.org
HTTP헤더 사용시 클라이언트와 서버가 HTTP 요청 또는 응답과 함께 추가 정보를 전달
반응형
'Web' 카테고리의 다른 글
서버에게 GET요청 (0) | 2023.06.14 |
---|---|
FETCH (0) | 2023.06.14 |
HTTP STATUS CODES (0) | 2023.06.14 |
postman WebAPI (0) | 2023.06.14 |
AJAX 와 APIs 데이터교환 XML / JSON (0) | 2023.06.14 |