liveBook · Manning

Postman

As explained in Building Web APIs with ASP.NET Core

Postman is a software tool for constructing, sending, and inspecting HTTP requests to web APIs.

Postman is a web API client platform for constructing, sending, and inspecting HTTP requests. It is especially useful for testing production endpoints when SwaggerUI is unavailable. section 12.4.4

Use Postman to test deployment and seeding workflows:

  • Send PUT requests to /Seed/BoardGameData and POST requests to /Seed/AuthData. section 12.4.4
  • Choose Postman when production does not expose SwaggerUI for interactive endpoint testing. section 12.4.4
  • After seeding, restore the production security posture by removing temporary data and disabling temporary SwaggerUI access. section 12.4.4

Testing production seed endpoints

Open Postman, create a request for the production API, select POST for /Seed/AuthData or PUT for /Seed/BoardGameData, and execute it to perform the seeding task without SwaggerUI. section 12.4.4

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Defines Postman as an HTTP client and names endpoint examples, but omits detailed request configuration and response inspection procedures.
Examples
Uses PUT /Seed/BoardGameData and POST /Seed/AuthData as concrete production testing examples.
What it assumes
Builds from familiarity with web API endpoints and the distinction between GET, POST, and PUT requests.
What you can do after
Operate/configure it to execute production HTTP requests for database seeding without SwaggerUI.
How it connects
Connects HTTP requests with web APIs, production deployment, SwaggerUI, and database seeding.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.