Giter Site home page Giter Site logo

[bug] 当一组请求的URL的IP部分为环境变量时,登录接口获取的cookies将不会自动带入其他接口的请求头 about reqable-app HOT 7 OPEN

AnxysUaen avatar AnxysUaen commented on September 27, 2024
[bug] 当一组请求的URL的IP部分为环境变量时,登录接口获取的cookies将不会自动带入其他接口的请求头

from reqable-app.

Comments (7)

MegatronKing avatar MegatronKing commented on September 27, 2024

@AnxysUaen 你好,感谢反馈。

登录接口获取的cookies将不会自动带入其他接口的请求头

请问这句话的意思是?有案例吗?

from reqable-app.

AnxysUaen avatar AnxysUaen commented on September 27, 2024

比如我请求接口 http://1.2.3.4:8000/login
响应set-cookies
再请求http://1.2.3.4:8000/getUser,会在header里面自动附上cookies,这个是reqable提供的功能

但是,当我把两个接口的“http://1.2.3.4:8000”改成
< < host > >
之后再请求时,虽然cookies依然会被保存,但是并不会自动附加到header里面

from reqable-app.

AnxysUaen avatar AnxysUaen commented on September 27, 2024

@AnxysUaen 你好,感谢反馈。

登录接口获取的cookies将不会自动带入其他接口的请求头

请问这句话的意思是?有案例吗?

已添加补充,期待回复

from reqable-app.

MegatronKing avatar MegatronKing commented on September 27, 2024

cookie是根据域名填充的,而不是根据IP填充,你打开cookie管理器检查下。

from reqable-app.

AnxysUaen avatar AnxysUaen commented on September 27, 2024

cookie是根据域名填充的,而不是根据IP填充,你打开cookie管理器检查下。

无变量情况下接口调用
有变量情况下接口调用
参见录屏,两者都是ip调用

from reqable-app.

MegatronKing avatar MegatronKing commented on September 27, 2024

@AnxysUaen 你是2.11版本吗?后面好像修复了一个相关bug:https://reqable.com/zh-CN/docs/changelogs/windows/#v2121-2024-04-19

from reqable-app.

MegatronKing avatar MegatronKing commented on September 27, 2024

@AnxysUaen 请问更新到最新版本还有问题吗?

from reqable-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.