-
Notifications
You must be signed in to change notification settings - Fork 72
自定义Headers
Nine edited this page Dec 3, 2017
·
2 revisions
在v2
接口中目前支持两种自定义headers
方式:
POST /v2 HTTP/1.1
Host: bird.ioliu.cn
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
...
customHeaderKey1: customHeaderVal1
customHeaderKey2: customHeaderVal2
POST /v2 HTTP/1.1
Host: bird.ioliu.cn
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
'params':{
"s": "女儿情",
"offset": 10,
"limit": 10,
"type": 1,
"headers":{
"customHeaderKey1": "customHeaderVal1",
"customHeaderKey2": "customHeaderVal2"
}
}