1 00:00:01,290 --> 00:00:05,820 Like we are just discussing we've now got our poster quest handler and we need some way to test it out 2 00:00:06,270 --> 00:00:09,650 so to test out all these different root handlers we're gonna build inside of our API. 3 00:00:09,720 --> 00:00:14,640 We're gonna use a little tool called postman in this video we're gonna download and set up this tool 4 00:00:14,640 --> 00:00:16,410 and understand how to use it. 5 00:00:16,470 --> 00:00:20,940 So to download this tool we're gonna navigate to get postman dot com inside of a new browser window 6 00:00:22,020 --> 00:00:26,880 once here you can find the Get Started link and then download the postman client. 7 00:00:26,910 --> 00:00:32,390 Now I'm on Mac OS so going to download the Mac OS Version Of course if you're on Windows or Linux. 8 00:00:32,400 --> 00:00:37,760 Go ahead and find the appropriate download link on here as well if you're on Windows the installation 9 00:00:37,760 --> 00:00:39,010 is going to be really easy. 10 00:00:39,020 --> 00:00:43,610 So on windows you're going to download a little installer just go ahead and run it and click through 11 00:00:43,610 --> 00:00:46,550 that little installation wizard if you're on Mac OS. 12 00:00:46,580 --> 00:00:49,830 However you have to do just one quick manual step. 13 00:00:49,880 --> 00:00:55,860 Now I've already downloaded that zip file ahead of time so let me pull up that directory really quickly. 14 00:00:55,880 --> 00:00:56,270 There we go. 15 00:00:56,420 --> 00:01:00,590 So once you've downloaded this thing you will have a zip file just like mine right here. 16 00:01:00,590 --> 00:01:06,210 We're going to first double click that file to extract it and that's gonna give us the actual postman 17 00:01:06,240 --> 00:01:11,490 application so we can then install it onto our local machine by dragging and dropping that into our 18 00:01:11,580 --> 00:01:12,780 applications directory 19 00:01:15,860 --> 00:01:23,090 once we've installed it we can flip over to the applications folder and find post man on this list. 20 00:01:23,090 --> 00:01:26,310 So there's postman right there. 21 00:01:26,420 --> 00:01:31,990 It's all started up we might see a little security warning and there we go. 22 00:01:32,190 --> 00:01:35,470 And you're gonna be prompted right away to sign in with postman. 23 00:01:35,510 --> 00:01:39,710 You do not have to create an account you can find a link down here at the very bottom that says Skip 24 00:01:39,710 --> 00:01:44,870 signing in so going to skip signing in and we'll see a window like this right here. 25 00:01:44,870 --> 00:01:50,220 So we're going to use this interface to test out our API quite a bit to make a request to our API. 26 00:01:50,300 --> 00:01:55,080 We can set up a new request right here by selecting the type of request or the method of it. 27 00:01:55,100 --> 00:02:00,670 So in our case we want to try out a post request and then the URL that we want to make our request to. 28 00:02:00,680 --> 00:02:08,360 So in our case we want to make our request to local host colon 3000 slash and then our route that we 29 00:02:08,360 --> 00:02:11,010 just added in is slash sign up. 30 00:02:11,030 --> 00:02:12,460 So local is three thousand. 31 00:02:12,560 --> 00:02:16,810 Sign up like so I'll then click sent. 32 00:02:17,100 --> 00:02:18,830 And that's gonna make our request. 33 00:02:18,880 --> 00:02:23,710 I can then see the response down here that said you made a post request and that is of course the code 34 00:02:23,710 --> 00:02:26,230 that we just wrote into our request handler. 35 00:02:26,230 --> 00:02:26,440 OK. 36 00:02:26,470 --> 00:02:27,850 So we can use postman quite a bit. 37 00:02:27,850 --> 00:02:32,830 Like I said throughout this application in order to test our API without actually having to build an 38 00:02:32,830 --> 00:02:38,620 entire react native application just to test out these different routes it's now that we've got postman 39 00:02:38,680 --> 00:02:39,400 ready to go. 40 00:02:39,400 --> 00:02:40,680 Let's take another quick pause. 41 00:02:40,780 --> 00:02:44,980 When we come back the next video we're gonna do some additional setup inside of our request handler.