In addition to what awd mentioned about getting the person responsible for the server to reconfigure (an impractical solution for local development), I use a change-origin Google Chrome plugin like this: Moesif Orign & CORS Changer (it used to be free, but now it wants a work email address >_>) Allow CORS: Access-Control-Allow-Origin (tested in 2023) You can make your local dev server (example: localhost:8080) to appear to be coming from 172.16.1.157:8002 or any other domain. In case the 2nd ... 15 lsof -i tcp: 8000 This command lists the information about process running in port 8000 kill -9 [PID] This command kills the process I'm following the Flutter Networking/HTTP tutorial to do a GET request to a server running on my localhost: 8000 . Visiting my localhost via my browser works fine. My code looks like this: var url =... I have this api (method get) that is connected to a lambda function that does a simple select from a database, if i test the endpoint with postman with a null body it does work (if i understood, po...