Open
Description
code
ah.proxy({
//请求成功后进入
onResponse: (response, handler) => {
console.log("ceshi-----")
console.log(response)
if (response.config.url.startsWith('https://zhihu-web-analytics.zhihu.com/api/v1')) {
console.log("88888")
axios.post('http://localhost/receiver/movie', {
url: window.location.href,
data: response.response
}, {
headers: {
'Content-Type': 'application/json'
}
})
console.log(response.response)
console.log(typeof response)
console.log(response)
handler.next(response)
}
}
})
console error
Metadata
Metadata
Assignees
Labels
No labels