#100DaysOfCode in Python Transcripts
Chapter: Days 43-45: Consuming HTTP services
Lecture: Introducing the Postman app

Login or purchase this course to watch this video and the rest of the course contents.
0:00 To truly work with APIs,
0:02 you need to be able to interact with the entire spectrum
0:04 of the HTTP protocol, and browsers,
0:07 while they technically do that,
0:08 they don't let you as a consumer, as a user of the browser,
0:12 really easily do that.
0:13 So we're going to look at this tool called Postman.
0:15 And I've already installed it,
0:16 you can see it works on all the OSs, it's easy to install.
0:19 Let me come over here, and if we wanted to go
0:20 to that same URL we had before,
0:23 we could come over here and enter this,
0:25 and hit Go.
0:27 And you see here's the same JSON that we got.
0:29 Here's the status code, what it means,
0:32 okay versus other things, how long it took,
0:34 how much data there was, what headers were sent back.
0:38 That's interesting.
0:39 We could even come over here and we could pass additional data,
0:41 like user id is 72,
0:44 or something like that.
0:45 Now that's not going to have any effect on this service,
0:47 but it could, right?
0:49 We could even come over here and say,
0:50 we're going to set the accept type,
0:52 notice the auto-completion.
0:54 And accept application, let's just say JSON.
0:57 Right? So be a little more explicit,
0:59 this is the same thing we're getting.
1:01 We come over here and do a PUT and POST.
1:03 So as you interact with APIs,
1:05 here and in other challenges,
1:06 I encourage you to check out Postman.
1:09 It's free, and it's really nice,
1:11 and you can even create an account, notice mine is nsync,
1:13 and save these so you can sort of set up a structured way
1:16 to interact with things, and go back and forth,
1:19 save for testing.