Problem with Retrofit: “Failed to connect to endpoint” despite correct setup
I’m developing an Android application that uses Retrofit to call a model hosted on Render. The endpoint is supposed to accept a request with a state and a year, and return a JSON object containing predicted rainfall data.