extraction.md


category: Concept redirect_from: - /docs/v0.4.0/concept/extraction/ - /docs/latest/concept/extraction/ title: “变量提取器” sort_title: “6” —

每个提取器的格式如下:

{
    "type": "",
    "name": ""
},

实例:

{
    "type": "Query",
    "name": "username"
},
{
    "type": "Header",
    "name": "id"
} 

以下针对每个条件的格式作解释:

type即要提取的数据来源,目前包括以下几种:

  • Header K/V
  • Query K/V
  • Post Params K/V
  • Host
  • URI
  • IP
  • Method

name指的是如果是K/V行的提取来源,name指要提取的key

如以下示例要提取QueryString里的username这个变量:

{
    "type": "Query",
    "name": "username"
}

糖果

糖果
LUA从入门到放弃

Moonscript如何显示复选框

Moonscript如何显示复选框 Continue reading

Lapis框架的常用处理方法

Published on March 02, 2017