Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1821

Flutter Dio returns error 404 but the endpoint exists

$
0
0

I'm making a website in Flutter Web.

Using Dio I want to access an API (made in Go by me) that is on my server, with HTTPS and an assigned domain.

GET requests originated by the website work wonderfully. PUT and POST requests return 404, even though the endpoint exists.

Testing the server requests with Postman or Imnsonia everything works, but requests received from the site there is no way.

The site is hosted on the same server by Caddy, and I have a reverse_proxy that redirects the domain to the API internally to the server.


Viewing all articles
Browse latest Browse all 1821

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>