1
00:00:00,360 --> 00:00:02,820
Instructor: So, the first part of the URL

2
00:00:02,820 --> 00:00:04,860
is naturally the domain name.

3
00:00:04,860 --> 00:00:07,860
The domain name should be either FQDN,

4
00:00:07,860 --> 00:00:10,680
which is Fully Qualified Domain Name,

5
00:00:10,680 --> 00:00:12,870
or a server name.

6
00:00:12,870 --> 00:00:17,670
For example, in this URL taken from the eBay api,

7
00:00:17,670 --> 00:00:21,420
you can see the FQDN, the Fully Qualified Domain Name.

8
00:00:21,420 --> 00:00:26,070
In this case, it is api.ebay.com.

9
00:00:26,070 --> 00:00:28,800
Now, what's important to note about a domain name is

10
00:00:28,800 --> 00:00:32,790
that a protocol used should be HTTPS.

11
00:00:32,790 --> 00:00:36,090
Using HTTP is outdated and unsecured,

12
00:00:36,090 --> 00:00:37,470
and you should avoid it.

13
00:00:37,470 --> 00:00:41,130
If you are using FQDN, Fully Qualified Domain Name,

14
00:00:41,130 --> 00:00:45,930
then it should have an api in its name, like this.

15
00:00:45,930 --> 00:00:49,500
So, you see here the protocol, which is HTTPS,

16
00:00:49,500 --> 00:00:51,570
and the word api.

17
00:00:51,570 --> 00:00:54,150
And then the other part of the domain name,

18
00:00:54,150 --> 00:00:56,730
in this case myapp.com.

19
00:00:56,730 --> 00:01:00,150
So, when including the api word in the domain name,

20
00:01:00,150 --> 00:01:03,180
then the developer will be able to understand that

21
00:01:03,180 --> 00:01:06,060
this domain is the correct place to go

22
00:01:06,060 --> 00:01:07,803
when working with the api.

23
00:01:09,120 --> 00:01:11,640
Okay, so let's start building a URL

24
00:01:11,640 --> 00:01:16,380
which will be a best practice demonstrator using Beeceptor.

25
00:01:16,380 --> 00:01:19,140
And if you will look at the URL in Beeceptor,

26
00:01:19,140 --> 00:01:20,943
which is right here,

27
00:01:22,860 --> 00:01:25,830
then you can see that using Beeceptor we have

28
00:01:25,830 --> 00:01:27,870
a fully qualified domain name.

29
00:01:27,870 --> 00:01:30,240
Although, we don't have full control of it,

30
00:01:30,240 --> 00:01:33,510
so we don't have the word api in it.

31
00:01:33,510 --> 00:01:36,360
My specific sub domain is called apicourse,

32
00:01:36,360 --> 00:01:39,600
but again, you probably selected a different one.

33
00:01:39,600 --> 00:01:44,550
So, we will start building the URL from this domain name.

34
00:01:44,550 --> 00:01:46,830
And let's move on to the next lecture

35
00:01:46,830 --> 00:01:50,403
to understand what comes right after the domain name.

