From 2b842673052a3366a4418fd0cfd4b3ec26d59421 Mon Sep 17 00:00:00 2001 From: HG-ha <60115106+HG-ha@users.noreply.github.com> Date: Mon, 11 Sep 2023 11:27:59 +0800 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8f030a4..80b839c 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,11 @@ asyncio.run(main("微信")) ``` curl http://127.0.0.1:16181/query/web?search=深圳市腾讯计算机系统有限公司 ``` + - 示例: 根据企业名称查询备案信息,每页20条数据,查询第3页 + + ``` + curl http://127.0.0.1:16181/query/web?search=深圳市腾讯计算机系统有限公司&pageNum=3&pageSize=20 + ``` 2. POST - headers : {"Content-Type": "application/json"} - URL: http://0.0.0.0:16181/query/{type} @@ -64,6 +69,11 @@ asyncio.run(main("微信")) ``` curl -X POST -H "Content-Type: application/json" -d '{"search":"深圳市腾讯计算机系统有限公司"}' http://127.0.0.1:16181/query/web ``` + - 示例: 根据企业名称查询备案信息,每页20条数据,查询第3页 + + ``` + curl -X POST -H "Content-Type: application/json" -d '{"search":"深圳市腾讯计算机系统有限公司","pageNum":3,"pageSize":20}' http://127.0.0.1:16181/query/web + ``` ##### 3. Linux 运行icpApi 1. 源代码运行