Search code examples
dockerkubernetespostmanskaffold

GET to API works in browser, but doesn't with Postman


Setting up a Django API and running it with Skaffold in an Kubernetes environment.

minikube is running at the 192.168.99.105. Navigating to /api/auth/test/ should just respond with "Hello World!" as you see below.

enter image description here

However, when I try to do the same thing in Postman, I get the following (picture shows https, but happens with http too).

enter image description here

Why would this be?

I have --port-forward setup so I can still access the API from Postman via localhost:5000/auth/test/, so this issue isn't preventing me from getting stuff done.


Solution

  • Make sure you have SSL certificate verification set to OFF, as follows:

    stackoverflow