I generated the Question and Answer Service using the following link:
However, the sample application does not work. The console error says:
[/WatsonQA/apps/services/api/WatsonQA/common/query] exception. TypeError: questionTypes is undefined.
So I tried to get questionType by calling a simple REST API using Postman. I found that calling /v1/services does not result in a response. I received the following message:
No response received
I sent the following method:
(GET) https://gateway.watsonplatform.net/question-and-answer-beta/api/v1/services
I expected the following value:
{ "services": [ { "overall": 0, "dataset": "", "name": "", "description": "" } ] }
However, a response was not received. How can I fix this problem?