我尝试添加多个静态标头与改造2(2.3.0),如下所示:
interface WeatherAPI {
@Headers({
"Accept: application/json",
"Content-type:application/json"
})
@GET("/data/2.5/weather")
fun getWeatherForCityName(@Query("q") city: String, @Query("appid") appid: String) : Call<GetWeatherResponse>;
}
Run Code Online (Sandbox Code Playgroud)
我有以下错误:

知道我的错误吗?