Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HG-ha authored Sep 11, 2023
1 parent 30944e8 commit 2b84267
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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. 源代码运行
Expand Down

0 comments on commit 2b84267

Please sign in to comment.