请求
GET https://dpurl.cn/U1qzxVEz HTTP/1.1
Host: dpurl.cn
Connection: keep-alive
sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
响应
HTTP/1.1 302 Found
Server: openresty
Date: Wed, 27 Sep 2023 05:42:26 GMT
Content-Length: 0
Connection: keep-alive
Keep-Alive: timeout=5
M-TraceId: -2166583683123594999
Set-Cookie: short_link_token=810eb8475a30380acaf7b4e9a4cff82d-1695785232947; Expires=Thu, 28-Sep-2023 05:42:26 GMT
Set-Cookie: click_count=6; Expires=Thu, 28-Sep-2023 05:42:26 GMT
Location: https://click.meituan.com/t?t=3&c=2&p=gwWCC75zEHQL
Content-Language: zh-CN
请求
POST https://click.meituan.com/cps/clickReferralLink?yodaReady=h5&csecplatform=4&csecversion=2.2.1 HTTP/1.1
Host: click.meituan.com
Connection: keep-alive
Content-Length: 2835
sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"
Accept: application/json, text/plain, */*
Content-Type: application/json;charset=UTF-8
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
sec-ch-ua-platform: "Windows"
Origin: https://click.meituan.com
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://click.meituan.com/t?t=3&c=2&p=gwWCC75zEHQL
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
{"p":"gwWCC75zEHQL","t":"3","c":"2"}
响应
HTTP/1.1 200 OK
Server: openresty
Date: Wed, 27 Sep 2023 05:42:28 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 615
Connection: keep-alive
MT-Gateway-Error: true
M-SpanName: /cps/clickReferralLink
M-TraceId: 7729165746620873445
{"code":0,"msg":"成功","data":{"unpl":"v1_S-cQQoOxIDhKlVocjvUglWJfmBxmAro2SRIRxcjxFMrNOjWJOL2ksvG4Ef4iO2g4","landingPageUrl":"https://runion.meituan.com/url?url=https%3A%2F%2Fcube.meituan.com%2Fcube%2Fblock%2Fa9e44eeca2b711866658%2F249251%2Findex.html%3Fhotelchannel%3DStHnNnNIbDc%26appkey%3D878fc406450d7b8e951e8ea3e0ec7beb%3A1000&key=878fc406450d7b8e951e8ea3e0ec7beb&sid=1000&actid=345&utm_source=60413&utm_medium=MU&utm_campaign=other&utm_content=1380426802811412546_878fc406450d7b8e951e8ea3e0ec7beb&utm_term=&channel=union","setUnpl":true,"setLandingPageUrl":true},"setCode":true,"setMsg":true,"setData":true}
landingPageUrl url 解码
https://runion.meituan.com/url?url=https://cube.meituan.com/cube/block/a9e44eeca2b711866658/249251/index.html?hotelchannel=StHnNnNIbDc&appkey=878fc406450d7b8e951e8ea3e0ec7beb:1000&key=878fc406450d7b8e951e8ea3e0ec7beb&sid=1000&actid=345&utm_source=60413&utm_medium=MU&utm_campaign=other&utm_content=1380426802811412546_878fc406450d7b8e951e8ea3e0ec7beb&utm_term=&channel=union
actid=345 活动id