我的仪表板受来宾中间件保护,我想为每个拥有ID的雇主显示一个仪表板,但我不知道如何在来宾中间件中获取ID,我尝试了stackoverflow的一些解决方案,但返回的ID为null < / p>
Map<String, String> form3 = {
"user":"test",
"pass":"test",
"logintype":"login",
"pid":"128",
"submit":"Anmelden",
"tx_felogin_pi1[noredirect]":"0"
};
Map<String, String> h1234 = {
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent":"PostmanRuntime/7.19.0",
"Accept": "*/*",
"Cache-Control":"no-cache",
"Postman-Token":"c1daecce-cc06-432a-ac5d-888d90b345c2,7eb5d96f-e42c-4dee-932e-c4c30d12d499",
"Host":"www.phwt.de",
"Accept-Encoding":"gzip, deflate",
"Content-Length":"122",
"Connection":"keep-alive"};
http.Response res = await ioClient.post("https://www.phwt.de/fuer-studierende/intranet/",body:form3, headers: h1234);