Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save IvanciniGT/ef9ea99b02d9666198a2c85ad2ce4cab to your computer and use it in GitHub Desktop.

Select an option

Save IvanciniGT/ef9ea99b02d9666198a2c85ad2ce4cab to your computer and use it in GitHub Desktop.
curl -v -X POST "https://preguntas.cognitiveservices.azure.com/language/:analyze-text?api-version=2023-04-01" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: 2Tuw3uFSw988wcGtLnrPpc19B8fOtQspTodpx9KJq9akpc3zeZ7wJQQJ99BFACYeBjFXJ3w3AAAaACOGGjOy" --data-ascii "{\"kind\":\"LanguageDetection\",\"analysisInput\":{\"documents\":[{\"id\":\"documentId\",\"text\":\"Bonjour. Cette phrase est en français. Merci d’utiliser notre service.\"}]}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment