Text-Translation-API-V3-PHP
Text-Translation-API-V3-PHP copied to clipboard
Hi. this code didn`t work for me without location. (Translate.php) I tried to make a PR with fix, but access is denied. just added this one to headers: "Ocp-Apim-Subscription-Region: "....
https://github.com/MicrosoftTranslator/Text-Translation-API-V3-PHP/blob/7242c1059035e8fcbdff72d1d1e535ac7731a2e4/Translate.php#L42
Hello. I have problem becouse i want add mogę variable to translate. I return array from database and I want translate all Records. How do it?. My variable with db...
Adding ignore_errors => true to stream_context_create $options to be able to see error responses
#### Reference Issues / PRs Without the region information, Azure will return `401 Unauthorized` error as described in [Issue 7](https://github.com/MicrosoftTranslator/Text-Translation-API-V3-PHP/issues/7). #### Changes Add the `$region` variable. Update the `translate` function...