Get Questions as HTML
To retrieve questions as HTML, you can use the the parameter returnFormat
with the value serversideQnA
.
Usage examples
<div class="rek-prediction" data-returnFormat="serversideQnA"></div>
Response
The response will include the questions wrapped in appropriate HTML tags, making it easy to display them on your website. The response will also include the questions as a JSON-LD schema which is structured data specifically designed to help search engines understand the content of your pages.