Skip to content
Advertisement

Running Flask and Postman on Raspberry Pi

I’m running a flask server on my Raspberry Pi just a simple one to test the POST or GET request but Postman “Could not send request”. But when I try to access the link via the browser, it displays the request.

I’m accessing Raspberry Pi via SSH and using VNC Viewer.)

I’m confused. Any help would be much appreciated.

NOTE: I’m running flask on the raspberry pi itself and using a browser on the rasp, I’m accessing Postman.

Below are a few images so that you get an idea what I’m doing.

Simple GET request code

Postman

Request in browser

Console

Advertisement

Answer

Try the following 2 stages:

  1. On the GET Request, select the ‘Authorization‘ tab. Select ‘No Auth‘ from the ‘Type‘ drop down list
  2. Select the cog icon at the top of the Postman application -> Choose ‘Settings‘ -> ‘General‘ tab -> ‘Request‘ column -> Set ‘SSL certificate verification‘ to ‘OFF
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement