སྟོན་རྐྱངམ་ཅིག་
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.

ཡིག་སྒྱུར་འདི་ བཅོས་མའི་བློ་རིག་ (སྒྲ་ངོས་འཛིན་བྱེད་པའི་འཕྲུལ་རིག་) གིས་བཟོ་སྟེ་ཡོདཔ་ཨིན། འཛོལ་བ་འབྱུང་སྲིད་པ་ལ་ — གལ་སྲིད་ཁག་ཆེ་བའི་དོན་ལས་ ངོ་མ་གི་སྒྲ་སྐད་དང་འཕྱད་ཞིབ་འབད་དགོཔ་ཨིན། བཅོས་མའི་བློ་རིག་གི་སྲིད་བྱུས་

❤️ STT.ai ལ་དགའ་བ་ཡིན་ནོ? སླབ་པར་བགྱི!
བཅུད་དོན་
ཡིག་ཆ་འདི་གི་ AI བཅུད་བསྡུ་ཐོན་ནི་གི་དོན་ལས་ བཅུད་བསྡུ་ ཟེར་བའི་བསྒང་འདི་བསྒང་བསྒ
དྲན་ཐོ་བསྡུ་གསོག...
དྲན་ཤེས་ལ་དྲི་བ་དྲིས་ལན་ཞུ།
ཡིག་ཆ་འདི་གི་སྐོར་ལ་དྲི་བ་ཅི་རིགས་ཞུས་ནའང་ བཅོས་མའི་བློ་རིག་གིས་ འབྲེལ་བ་ཡོད་པའི་དོན་ཚན་ཚུ་ འཚོལ་ཞིབ་ དང་ལན་འདེབས་ འབད་འོང་།