Postman API testing against Docker container

Postman API testing against Docker container


For an API Docker container on host port 5000.  Tip: 5000 maps to container's internal port 8080.


You set the environment variables (without double braces):

You set the actual exposed endpoint method for it. Tip: type the double braces twice and you will see all the environment variables and pick the one you want. Tip: this response is empty because no movies with Alpha in the title.



You can also see it in Docker.  Tip: the question mark symbol is because EF Core redacts actual parameter values in its command logs by default (you'd need EnableSensitiveDataLogging() on the DbContext to see real values there) — it still shows the parameter names, types, and sizes, just masks the value for safety.











Comments

Popular posts from this blog

GHL Email Campaigns

Free AI Tools

Await