1
00:00:00,330 --> 00:00:06,870
And before we continue and cover queries from Paramus, let me just mention that we're out Promus can

2
00:00:06,870 --> 00:00:10,320
get way more complex than this.

3
00:00:10,680 --> 00:00:12,870
So, for example, imagine this scenario.

4
00:00:13,080 --> 00:00:15,410
I can go with abduct, get going.

5
00:00:15,420 --> 00:00:18,110
I need to come up with some kind of roots.

6
00:00:18,120 --> 00:00:21,540
I'm going to go apply then product.

7
00:00:21,540 --> 00:00:23,180
So I'm looking for specific products.

8
00:00:23,230 --> 00:00:25,500
I'm going to use a root parameter.

9
00:00:25,740 --> 00:00:34,140
Let's call this product ID, then I'm going to look for all the reviews and then maybe there's a review,

10
00:00:34,140 --> 00:00:34,480
Heidi.

11
00:00:35,040 --> 00:00:43,170
So a review and an I.D. And now, of course, again, I have reck and read like so and I'm simply going

12
00:00:43,170 --> 00:00:50,880
to send back some kind of dummy data, but I would want to consult the prompts just so you understand

13
00:00:51,030 --> 00:00:52,050
how everything works.

14
00:00:52,300 --> 00:00:57,680
And now let me send her as not send so as not signed.

15
00:00:57,700 --> 00:00:59,280
And I'm just going to say simple.

16
00:00:59,610 --> 00:01:02,280
Hello, world, let's save this one.

17
00:01:03,200 --> 00:01:09,650
And again, in the browser, let's go here, we have products again, some kind of ID, whether that's

18
00:01:09,650 --> 00:01:15,590
ABC, whether that is a number in this case, it doesn't really matter since you can see that there's

19
00:01:15,590 --> 00:01:17,030
not much functionality in there.

20
00:01:17,390 --> 00:01:25,100
But we need to type in here reviews online, for example, the review, it would be A, B, C.

21
00:01:25,370 --> 00:01:30,980
So once I navigate here, of course, I'm going to get my hello world and then in the console, notice

22
00:01:30,980 --> 00:01:32,950
how I'm accessing all of them.

23
00:01:33,200 --> 00:01:36,590
So I am the product the as well as the review.

24
00:01:37,250 --> 00:01:42,890
So again, they can get way more complex than just this simple approach.

25
00:01:43,130 --> 00:01:47,860
And one more thing I would like to mention this reviews, though, is hard coded.

26
00:01:48,320 --> 00:01:51,890
So if I go back, I can change the ABC.

27
00:01:51,890 --> 00:01:54,050
And for her I would like.

28
00:01:54,320 --> 00:02:03,680
But if I change from reviews to review, I'm going to get a feel for y while because a review is not

29
00:02:03,680 --> 00:02:04,490
a parameter.

30
00:02:04,820 --> 00:02:06,190
So that's not a placeholder.

31
00:02:06,740 --> 00:02:11,270
So if this is incorrect, then of course I get the four or four.

32
00:02:11,660 --> 00:02:12,740
Hopefully that is clear.

33
00:02:13,020 --> 00:02:15,980
Now let's talk about the query string parameters.

