#### 接口路徑:https://dev.lingju.ai/httpapi/title.do
<table style="width:100%">
<tbody>
<tr height="28" style="font-weight:bold;">
<td height="28" width="130px" >名稱</td>
<td colspan="3" >分析用戶回復內容的接口</td>
</tr>
<tr height="28" style="font-weight:bold;">
<td height="28" >接口路徑</td>
<td colspan="3" >https://dev.lingju.ai/httpapi/title.do</td>
</tr>
<tr height="28" style="font-weight:bold;">
<td height="28" >請求方式</td>
<td colspan="3" >post</td>
</tr>
</tbody>
</table>
#### http post請求示例:
~~~
post https://dev.lingju.ai/httpapi/title.do
json格式串行化post上傳,注意請求的header需添加 'Content-Type':'application/json;charset=UTF-8'
{
"accessToken":"xxxxxxxxxxxxxxxxxxxxxx",
"id":2,
"content":"我選A"
}
~~~
#### 請求參數說明:
<table style="width:100%">
<thead>
<tr height="28">
<th width="130px">參數</th>
<th width="100px">數據類型</th>
<th width="130px">可需</th>
<th colspan="2" >描述</th>
</tr>
</thead>
<tbody>
<tr height="23" style="height:17.25pt">
<td height="23" >accessToken</td>
<td >String</td>
<td>必填</td>
<td colspan="2" >分配給開發者的專屬appkey,請妥善保管</td>
</tr>
<tr >
<td>id</td>
<td>int</td>
<td>必填</td>
<td colspan="2">題目id</td>
</tr>
<tr>
<td>content</td>
<td>String</td>
<td>必填</td>
<td colspan="2">用戶回答內容</td>
</tr>
</tbody>
</table>
#### 接口返回JSON示例:
~~~
{
"answer":"廣州今天天氣預報說“大雨”,出門最好帶上傘。",
"status":0
}
~~~
#### 接口返回說明:
~~~
Content-Type:application/json;charset=UTF-8
~~~
<table style="width:100%">
<thead>
<tr height="28" >
<th height="28" width="130px">屬性名</th>
<th width="100px">數據類型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr height="23">
<td height="23" >status</td>
<td>int</td>
<td>狀態碼,0=成功,其它值則為錯誤碼,請參考錯誤碼表</td>
</tr>
<tr height="23">
<td height="23" >description</td>
<td >String</td>
<td>通常為空,出錯時會有錯誤信息</td>
</tr>
<tr >
<td>result</td>
<td >int</td>
<td>1=回答正確,2=回答錯誤,3=獲取提示</td>
</tr>
<tr >
<td>answer</td>
<td >String</td>
<td>正確答案</td>
</tr>
<tr >
<td>tip</td>
<td >String</td>
<td>提示內容,可能為空</td>
</tr>
<tr >
<td>explain</td>
<td >String</td>
<td>答案解釋,可能為空</td>
</tr>
</tbody></table>