Hi !
I'm trying to make a POST call to a server with a HTTP scheme.
My server is redirecting me with a 301 response code, giving me the same URL in HTTPS.
But the newer request is now a GET request, failing because my backend doesn't handle this endpoint with a GET method.
Sorry, I can't attach a log, but :
- response:
- priorResponse:
- request : GET, same parameters
Tested with okhttp:4.8.1 on Android 11.
Hi !
I'm trying to make a POST call to a server with a HTTP scheme.
My server is redirecting me with a 301 response code, giving me the same URL in HTTPS.
But the newer request is now a GET request, failing because my backend doesn't handle this endpoint with a GET method.
Sorry, I can't attach a log, but :
Tested with okhttp:4.8.1 on Android 11.