Hi I use okhttp it works fine but for this url okhttp always return 404 response
I try this link on chrome on windows and it works perfecty and Method used is GET
val client = OkHttpClient()
val request = Request.Builder().url(url).build()
client.newCall(request).enqueue(object : Callback{
override fun onFailure(call: Call, e: IOException) {}
override fun onResponse(call: Call, response: Response) {}
})
thanks
Start by reproducing this in curl. Copy as Curl and see if that works. It likely relies on being logged in with session auth.
https://developers.google.com/web/updates/2015/05/replay-a-network-request-in-curl
If you confirm that works, try those same headers in a request in OkHttp. Then work out if there is a clean API to hit.