Error related to translation using Azure's Translate API {"error":{"code":400000,"message":"One of the request inputs is not valid."}} i have no idea why the error message appears
According to the translator documentation:
The body of the request is a JSON array. Each array element is a JSON object with a string property named Text, which represents the string to translate.
And you are passing text
in query string which is wrong.