标签: ios swift cookies response
尝试使用justhttp
但总是为零
auth = String(describing: Just.get("https://url.com").cookies["AUTH"]?.value)
答案 0 :(得分:0)
auth = Just.get("https://url.com", allowRedirects:false).cookies["AUTH"]!.value