So the purpose of this post is to explore how to get beyond just Postman, and into using Python for REST API calls. In this particular example - learning Python allows you to move beyond one-off API calls in Postman, and into being able to accomplish much more complex automation. Network automation isn't usually accomplished with just one tool - it's a whole storage closet full of different tools & utilities, each with their own use cases or specializations. I've seen some engineers who hear these statements and feel like Postman is being pushed on them - even when they're perfectly happy with an SSH-based CLI. We might mention Python as an advanced method of using our APIs, or maybe we talk about how "if APIs are the new CLI, Postman is the new PuTTY". That being said, often times I've seen that we stop there. Postman is a very easy to use platform for running API calls against REST endpoints & see the nicely formatted output. Maybe it's just me - but I feel like when we want to demonstrate product APIs to someone, we usually jump into Postman first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |