1
00:00:00,660 --> 00:00:06,330
So in this, you know, we're going to talk about the history of this, so in order to request any results

2
00:00:06,330 --> 00:00:11,310
from the server, we need to follow some certain format for questioning results.

3
00:00:11,320 --> 00:00:16,500
Otherwise, your results will not be given by the Observer.

4
00:00:16,740 --> 00:00:21,930
So there are many types of request type requests so far to get requests.

5
00:00:22,140 --> 00:00:24,840
So that request is used to get a.

6
00:00:26,200 --> 00:00:33,610
Results from the Web server and the post request user to post some details to the Web site like Fountas,

7
00:00:34,000 --> 00:00:40,510
like Yancy's sign up forms and username, like are the details you will enter into the form.

8
00:00:40,510 --> 00:00:47,440
And when you click on Sign Up or some other submit button, then these details will be sent to the website

9
00:00:48,130 --> 00:00:54,280
and put a request is there to approve the files, putting the files on the web server.

10
00:00:54,310 --> 00:00:58,620
If you have the access to upload any face, you can use this comment.

11
00:00:59,440 --> 00:01:05,050
And the third option, if you have the access to delete any file on that Web server, you can use that

12
00:01:05,090 --> 00:01:09,900
to record the request and the option to request.

13
00:01:10,000 --> 00:01:14,980
Just tell you what the server allows you to request for.

14
00:01:15,130 --> 00:01:21,460
So if this option says, get pushed and put, you need to you can perform all these three requests.

15
00:01:22,480 --> 00:01:25,790
We cannot you cannot use that request.

16
00:01:26,170 --> 00:01:33,320
So so that's what this options request is for you to request are the of the request types, the Web

17
00:01:33,340 --> 00:01:34,090
server error.

18
00:01:34,690 --> 00:01:36,560
And there is another request.

19
00:01:36,650 --> 00:01:44,310
The card had to request a decision like that, but it does not get the content of the but the results.

20
00:01:45,220 --> 00:01:52,410
So in that we actually get the results we want, but instead it will just take the current duty whether

21
00:01:52,450 --> 00:01:53,830
the resources are available or not.

22
00:01:54,790 --> 00:01:56,620
So let's take a look at this example.

23
00:01:56,770 --> 00:02:06,520
First one is the D hole is a one Dataquest and B, the format of the request, because the first one

24
00:02:06,520 --> 00:02:07,050
is the date.

25
00:02:07,270 --> 00:02:12,200
So I want to get something and that is slash that.

26
00:02:12,910 --> 00:02:17,190
So I want to get started shomer from the web server.

27
00:02:17,410 --> 00:02:20,740
And what I want to do is I want to specify the protocol music.

28
00:02:20,980 --> 00:02:22,700
So I want to the one.

29
00:02:22,720 --> 00:02:23,170
That one.

30
00:02:23,650 --> 00:02:30,050
So on that one is a newer version and 1.0 is the audio version.

31
00:02:30,100 --> 00:02:38,560
The difference between these two is and actually B one by one keeps the connection alive after you requesting

32
00:02:38,570 --> 00:02:39,240
a business.

33
00:02:39,460 --> 00:02:48,850
So in HTP HDB 1.0, after you request a tumour or any file of the server sending the response, then

34
00:02:48,850 --> 00:02:50,020
the correction will be closed.

35
00:02:50,170 --> 00:02:54,980
So you need to again initiate the connection and then you need to ask any other offers.

36
00:02:55,360 --> 00:02:59,010
So that's a disadvantage that will increase the load from the current.

37
00:02:59,800 --> 00:03:02,590
That's why we need to be on point one.

38
00:03:02,860 --> 00:03:07,720
So we didn't want to connect to as many, uh, files as as you want.

39
00:03:08,920 --> 00:03:10,020
So that is a frustration.

40
00:03:10,060 --> 00:03:11,280
Frustration is the question.

41
00:03:12,010 --> 00:03:14,410
So you need to specify the request.

42
00:03:14,410 --> 00:03:16,320
I need to specify the results you want.

43
00:03:16,330 --> 00:03:18,580
I need you to specify the protocol you need to use.

44
00:03:18,910 --> 00:03:21,430
And this is called parameters.

45
00:03:21,550 --> 00:03:26,230
And this is a value and parameter name and the value.

46
00:03:26,560 --> 00:03:33,400
So you can t user end user and means for which browser I am requesting the resource, if it is Firefox

47
00:03:33,550 --> 00:03:36,790
is Mozilla and these are our brothers.

48
00:03:37,390 --> 00:03:45,880
And if you request from this will produce, uh, Sacro, then Chrome will be act as user agent and the

49
00:03:45,880 --> 00:03:47,140
hostess actual.

50
00:03:48,400 --> 00:03:50,760
You need to you are requesting that the strategy.

51
00:03:51,160 --> 00:04:04,050
So in our case tell Google dot com and accept is the content paper you want to accept in your extract.

52
00:04:04,450 --> 00:04:12,130
So you are telling the observer that I am ready to accept this picture and also I can accept images

53
00:04:12,130 --> 00:04:13,000
and gifts.

54
00:04:13,630 --> 00:04:18,760
So the surrounding this, it was a legitimate form of this.

55
00:04:21,250 --> 00:04:23,740
And accept language, so I want to.

56
00:04:24,700 --> 00:04:31,530
Get this, the turmoil in the English language, you can see your transfer for United States English,

57
00:04:31,780 --> 00:04:35,930
so I want that to start to be in English language.

58
00:04:36,190 --> 00:04:38,980
I mean, the content of that is that it should be in English.

59
00:04:39,310 --> 00:04:44,530
You can also mention any other format if that format is available, or you can just Google translate

60
00:04:44,530 --> 00:04:47,650
it and accept encoding with d.g.

61
00:04:47,690 --> 00:04:54,760
And so there's a real sense in this encoding format and browser will do it for you and the content is

62
00:04:54,760 --> 00:04:55,920
fifty fifty.

63
00:04:55,930 --> 00:04:59,920
But this is the size of this special attachment and connection.

64
00:05:01,630 --> 00:05:09,070
So keep in mind after this, requesting you after you send this request, you get the response on the

65
00:05:09,070 --> 00:05:14,130
Web browser and again you can send the request without initiating any other connection.

66
00:05:14,920 --> 00:05:16,150
That means one connection.

67
00:05:16,150 --> 00:05:23,470
You can send multiple requests and responses and you don't you can send any parameters you want to send

68
00:05:23,470 --> 00:05:24,110
to observer.

69
00:05:24,280 --> 00:05:31,440
So since this is our request, we don't need to send any parameters in the most other situations.

70
00:05:32,560 --> 00:05:36,400
So that's another example of the post request.

71
00:05:38,590 --> 00:05:39,790
You can see the post.

72
00:05:41,830 --> 00:05:48,800
So what I'm going to do is I'm posting some data to this not legitimate for the Web server side.

73
00:05:49,360 --> 00:05:51,560
And the protocol I'm using is actually beyond.

74
00:05:52,060 --> 00:05:58,930
So are these, uh, parameter names and the same user agent hashtags of extra legitimate?

75
00:05:58,930 --> 00:05:59,560
An excerpt.

76
00:05:59,590 --> 00:06:04,410
I want language in English and character so up to here to do so.

77
00:06:04,420 --> 00:06:11,380
And then you can see there is a line called this is the actual data yourself and username and password

78
00:06:11,380 --> 00:06:12,050
is clinical.

79
00:06:13,930 --> 00:06:18,940
So this data will be sent in to these other observers.

80
00:06:18,970 --> 00:06:25,840
It so set on seeing this post request, it will take these parameters and pass it to the log.

81
00:06:26,920 --> 00:06:35,500
So in this way, it will have some server side, uh, like BHB programming language that this username

82
00:06:35,500 --> 00:06:43,420
and password will be checked and then the response will either login success or failure will be sent

83
00:06:43,420 --> 00:06:44,180
to the client.

84
00:06:45,130 --> 00:06:53,410
So once again, we are just changing that to post to post some data to the Web server so you can send

85
00:06:53,410 --> 00:06:59,520
the data as the variable name and the value and separated end and person.

86
00:06:59,770 --> 00:07:01,700
And the name is name and value.

87
00:07:02,020 --> 00:07:04,090
Is there a miscommunication or is going to be good?

88
00:07:04,810 --> 00:07:12,340
So in this way, if you don't have a browser, you can also send out some online tools, some of those

89
00:07:12,340 --> 00:07:13,840
tools in the later videos.

90
00:07:15,370 --> 00:07:19,560
So the terrible question, I hope you have understood this one.

