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.