보이는 것만
0:01
S… Speaker 1 (280. Wrap Up)
So that's it for the HTTP module.
0:05
S… Speaker 1 (280. Wrap Up)
Quite a long module where you learned a lot about the Angular HTTP
0:09
S… Speaker 1 (280. Wrap Up)
client.
0:10
S… Speaker 1 (280. Wrap Up)
Now the most common task you will do is of course that you send requests
0:14
S… Speaker 1 (280. Wrap Up)
by using post,
0:15
S… Speaker 1 (280. Wrap Up)
get and so on by adding a URL,
0:17
S… Speaker 1 (280. Wrap Up)
possibly a request body and maybe some request headers.
0:21
S… Speaker 1 (280. Wrap Up)
This will be your bread and butter thing and therefore this is the task
0:25
S… Speaker 1 (280. Wrap Up)
you should practice and you should feel confident about.
0:27
S… Speaker 1 (280. Wrap Up)
Always remember that
0:31
S… Speaker 1 (280. Wrap Up)
these methods like get and post give you back an observable to which you have
0:35
S… Speaker 1 (280. Wrap Up)
to subscribe to actually kick off the request and to send it since
0:39
S… Speaker 1 (280. Wrap Up)
it is an observable you can use operators rxjs operators
0:43
S… Speaker 1 (280. Wrap Up)
to transform the data log data catch errors or
0:47
S… Speaker 1 (280. Wrap Up)
whatever you want to do but ultimately you need to subscribe and
0:52
S… Speaker 1 (280. Wrap Up)
you can do this in a service or in a component depending on where you need to work
0:56
S… Speaker 1 (280. Wrap Up)
with the response and in the subscribe method
0:59
S… Speaker 1 (280. Wrap Up)
you pass in a function to handle the data you get back and possibly also
1:03
S… Speaker 1 (280. Wrap Up)
an error handling function like this one.
1:06
S… Speaker 1 (280. Wrap Up)
This is how you generally work with HTTP requests.
1:10
S… Speaker 1 (280. Wrap Up)
Now you got advanced features like the possibility of setting
1:14
S… Speaker 1 (280. Wrap Up)
what you wanna observe if you are interested in
1:19
S… Speaker 1 (280. Wrap Up)
the response or just the body of the response
1:23
S… Speaker 1 (280. Wrap Up)
or all the events,
1:25
S… Speaker 1 (280. Wrap Up)
which type of data should be returned.
1:27
S… Speaker 1 (280. Wrap Up)
You can set query perims and you have that very useful features
1:31
S… Speaker 1 (280. Wrap Up)
of intersetters,
1:33
S… Speaker 1 (280. Wrap Up)
which can really help you save time and code if you have
1:37
S… Speaker 1 (280. Wrap Up)
some header that needs to be appended to every outgoing request,
1:40
S… Speaker 1 (280. Wrap Up)
for example.
1:41
S… Speaker 1 (280. Wrap Up)
And as I already mentioned,
1:43
S… Speaker 1 (280. Wrap Up)
we'll see intersetters in action again later in the course once we add authentication.
1:48
S… Speaker 2 (280. Wrap Up)
For now,
1:48
S… Speaker 2 (280. Wrap Up)
this is it.
1:49
S… Speaker 1 (280. Wrap Up)
Let's now move on to the course project and practice using these HTTP
1:54
S… Speaker 1 (280. Wrap Up)
requests there.

이 기록은 AI (자동 음성 인식)에 의해 생성되었습니다. 오류가 있을 수 있습니다 - 중요한 사용을 위해 원본 오디오와 확인하십시오. AI 정책

❤️ STT.ai가 마음에 드시나요? 친구들에게 알려주세요!
요약
요약 을 클릭하여 이 녹음의 AI 요약을 생성합니다.
요약...
이 녹음에 대해 AI에게 물어보기
이 녹음에 대해 질문하십시오 — AI는 관련 섹션을 찾아 답변합니다.