#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, you need to be able to interact with the entire spectrum of the HTTP protocol, and browsers, while they technically do that,
0:09 they don't let you as a consumer, as a user of the browser, really easily do that. So we're going to look at this tool called Postman.
0:16 And I've already installed it, you can see it works on all the OSs, it's easy to install. Let me come over here, and if we wanted to go
0:21 to that same URL we had before, we could come over here and enter this, and hit Go. And you see here's the same JSON that we got.
0:30 Here's the status code, what it means, okay versus other things, how long it took, how much data there was, what headers were sent back.
0:39 That's interesting. We could even come over here and we could pass additional data, like user id is 72, or something like that.
0:46 Now that's not going to have any effect on this service, but it could, right? We could even come over here and say, we're going to set the accept type,
0:53 notice the auto-completion. And accept application, let's just say JSON. Right? So be a little more explicit, this is the same thing we're getting.
1:02 We come over here and do a PUT and POST. So as you interact with APIs, here and in other challenges, I encourage you to check out Postman.
1:10 It's free, and it's really nice, and you can even create an account, notice mine is nsync, and save these so you can sort of set up a structured way
1:17 to interact with things, and go back and forth, save for testing.