This post deals with a problem I ran into while testing my .NET Core web APIs using the popular tool Postman, and what I did to get around it. Warning: What I describe here is a workaround for one’s local dev environment only.
I was testing my API with HTTPS on my
localhost, where I have a self-signed certificate such that it produces the following page when I browse to it in Chrome:
Whenever I tried to submit a request to one of my endpoints, e.g. a simple GET request, Postman would report an error like this:
I discovered a more detailed error message by choosing “Show Postman Console” from the “View” menu in Postman:
This appears to be related to issue #2214 on Postman Support. To get around this, I disabled “SSL certification verification” the “General” tab of the “Settings” window:
Ever since changing this setting, I have been able to submit requests normally.
Used for this article
- Postman 7.14.0