从应用程序Cookie中获取xtoken值并通过Dart

时间:2019-05-21 19:09:16

标签: cookies dart

我有一个基于Dart Web的应用程序,需要进行身份验证。一旦通过身份验证,就会生成一个xtoken值,该值可用于请求。我如何以可能replace the field 'token value' in this Postman example showing the Headers I'm passing.

的方式传递此令牌

我尝试了多种方法对值进行硬编码,但需要找到一种方法来获取和传递适当的信息。任何帮助表示赞赏。

0 个答案:

没有答案