Skip to content
Discussion options

You must be logged in to vote
  1. host 的 schema 多了一个 /
  2. sec-ch-ua-platform 这个 header 的 value 有问题,不应该是 ""Windows"\n",改成 "Windows" 试试

这些都是框架自带的好像,https:///,多了一个/,我删掉保存后刷新有多了一个/,windows那个页面上就是显示“Windows”,/n应该是导出的时候为了更方便阅读加的。
然后我也试过,不改一点,填了host和cookie能登录
谢谢大佬,现在主要的问题是,我设置了host和cookie后,保存了,这两个变量又没了(在页面上还有{{host}}和{{Cookie}},只是测试页面的变量没了),导致我应用模板的时候无法输入具体值

我这边测试没问题,你重新导入一次正确的har试试

成功了,谢谢大佬,好奇怪。我之前就怀疑chrome直接下载的har有问题,用一个框架自带的请求新建的。不过成功就好,谢谢大佬

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@a76yyyy
Comment options

@fireflyfeihuo
Comment options

@a76yyyy
Comment options

@fireflyfeihuo
Comment options

Answer selected by a76yyyy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants