diff --git a/README.md b/README.md index 77ad88d..4f3a23a 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ java -jar Ganswer.jar ### 通过http请求使用GAnswer 我们为您提供了一个简单的样例,以说明如何通过http请求,获取GAnswer服务。 您可以通过类似下面的url来访问GAnswer: -http://[ip]:[port]/gSolve/?data={%22maxAnswerNum%22:%221%22,%22maxSparqlNum%22:%222%22,%22question%22:%22Who%20is%20the%20wife%20of%20Donald%20Trump?%22} +http://[ip]:[port]/gSolve/?data={maxAnswerNum:1, maxSparqlNum:2, question:Who is the wife of Donald Trump?}
其中,[ip]和[port]分别为您启动GAnswer服务的ip地址和端口(端口系统默认为9999),您需要通过在http请求中添加“data”参数,传递一个json字符串给GAnswer。 在这个样例中,您实际传递的json数据为: ```json