api.http 956 B

123456789101112131415161718192021222324252627282930313233
  1. ###
  2. # 按类型检索list
  3. GET http://localhost:7001/code/32/list HTTP/1.1
  4. #GET http://oa.chinahuian.cn/naf/code/mz/list HTTP/1.1
  5. Accept: application/json
  6. ###
  7. # 按类型和分组检索list
  8. GET http://localhost:7001/code/T01/0/list HTTP/1.1
  9. Accept: application/json
  10. ###
  11. # 按类型检索fetch
  12. GET http://localhost:7001/code/32/fetch?code=1 HTTP/1.1
  13. #GET http://oa.chinahuian.cn/naf/code/mz/fetch?code=1 HTTP/1.1
  14. Accept: application/json
  15. ###
  16. # 按类型和分组检索fetch
  17. GET http://localhost:7001/code/01/0/fetch?code=0 HTTP/1.1
  18. Accept: application/json
  19. ###
  20. # 获取省列表
  21. #GET http://localhost:7001/code/xzqh/list?parent=000000&level=1 HTTP/1.1
  22. GET http://oa.chinahuian.cn/naf/code/xzqh/list?parent=000000&level=1 HTTP/1.1
  23. Accept: application/json
  24. ###
  25. # 获取市列表
  26. #GET http://localhost:7001/code/xzqh/list?parent=220000&level=2 HTTP/1.1
  27. GET http://oa.chinahuian.cn/naf/code/xzqh/list?parent=220000&level=2 HTTP/1.1
  28. Accept: application/json