request

차노·2023년 8월 10일
0

When you want to interact with data via a REST API, this is called a request. A request is made up of the following components.

  • Endpoint :

The Response

When you perform a request, you'll get a response from the API.

The GET method is used to access data for a specific resource from a REST API.

The response object contains all the data sent from the server in response to your GET request, including headers and the data payload.

response 객체는 헤더와 데이터를 포함하여 GET request에 대응하는 서버로부터 받은 모든 데이터를 담고 있다.

Reference

0개의 댓글