We are trying to implement Knowledge Question in AAC and we are having issue in several factors:
1. How to create/get predetermined questions?
2. We tried to allow user to provide the questions but our next issue is we are unable to retrieve ramdom questions, it is always giving us the 1st question. (mechanism are configured as default)
Replicate:
Authorization: Basic XXXXXX
Accept: application/json
Content-Type: application/json
Body:
{
"questions" : [
{
"id": "1",
"answer" : "chance",
"question" : "What is your pet's name?"
},
{
"id": "2",
"answer" : "pang",
"question" : "What is your nickname?"
}
]
}
2. Get question:
Authorization: Basic XXXXX
Accept: application/json
Content-Type: application/json
Sample response:
{
"questions": [
{
"id": "1",
"answer": "**********",
"question": "What is your pet's name?"
}
]
}
even if we test it in the default Authentication policy for Knowledge Question with multiple request, we are always getting the 1st question.
Any comment on this
@Jon HarryThank you
------------------------------
Pang
------------------------------