How to quickly check the EndPoint API of QnA Maker

If you haven't experimented with QnA Maker then it is time. It enables you to quickly create a question and answer service from content like FAQ documents, URLs, and product manuals. You can create a knowledge base with existing data sources that you already have. Once complete, you might want to consume the endpoint API through applications such as Fiddler or cURL. In this post, I'll show you quickly how you can do both.

For Fiddler:

You need to specify TLS1.2. Simply go to Tools > Options > HTTPS to make tls1.2 allowable.

For cURL:

Simply replace placeholder text and it should work!

curl \
--header "Content-type: application/json" \
--header "Authorization: EndpointKey placeholder-text-remove-me" \
--request POST \
--data '{"question":"Have you completed the Azure Tips and Tricks Survey yet?"}' \

I hope this helped!