How to disable http 2 on Azure translator API for Android Clients?
I am following this guide to make API calls from Android clients: https://learn.microsoft.com/en-us/azure/cognitive-services/translator/quickstart-dictionary?pivots=programming-language-java
I get the following error:
java.io.IOException: stream was reset: PROTOCOL_ERROR
From quick google search I found out that this maybe due to Http/2 support on the API but the Android clients don't support Http/2 on older versions. I followed a few articles that suggest to disable Http/2 for azure service but I could not find a way to do that : https://azure.microsoft.com/en-in/blog/announcing-http-2-support-in-azure-app-service/
Can anyone help with using translator API on Android Clients?