காட்டு
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 தொடர்புடைய பகுதிகளைக் கண்டுபிடித்து பதிலளிக்கும்.