R
Railway15mo ago
lou

Spring boot application deployed and documented with swagger but not return datas

Hey guys, whatsup. I deployed my application and I documented using swagger, but when I try to do some request my datas dont return. First I thought was cors issue so I implemented cors in my backend even after to do this, my requests are fail. When I open my dev tools (F12) and inspect network, the status code is empty. Still in dev tools, but now on console says: Mixed Content: The page at 'https://climafilm-api.up.railway.app/swagger-ui/index.html#/movie-controller/getAllMoviesOnDatabase' was loaded over HTTPS, but requested an insecure resource 'http://climafilm-api.up.railway.app/app/movie/db'. This request has been blocked; the content must be served over HTTPS. On localhost it works normaly...
3 Replies
Percy
Percy15mo ago
Project ID: 58a31f61-8d35-4c19-8086-6e43cf46ac42
lou
lou15mo ago
58a31f61-8d35-4c19-8086-6e43cf46ac42
Brody
Brody15mo ago
the content must be served over HTTPS
Want results from more Discord servers?
Add your server