Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why client use v1.0-preview.1 in the request? #24332

Closed
Haiqi-Wu opened this issue Dec 23, 2022 · 0 comments
Closed

Why client use v1.0-preview.1 in the request? #24332

Haiqi-Wu opened this issue Dec 23, 2022 · 0 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@Haiqi-Wu
Copy link

My code :

const client = DocumentTranslator("https://contoso.123.azure.cn", { key: "keyvalue" });
 console.log(client)

 // Call the /batches path to initiate the translation job
 const formats = await client.path("/batches").post({
   body: batchSubmissionRequest,
 });
 console.log(formats)

It reports a 404 error.
ddc48fbb121c08c45768f1dbfa77947
I use postman to test the translator/text/batch/v1.0/batches, and it works well.
Does anyone have any idea?

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant