Flutter-头请求GET上的WebviewScaffold传递参数

时间:2019-05-16 15:57:52

标签: dart flutter

我想加载一个源URL网站。但是要查看该页面,我需要在标头请求中传递令牌。通常我会这样加载网址:

structure(list(
 date = structure(c(11L, 21L, 21L, 23L, 26L, 31L,32L, 37L, 38L, 39L), .Label = c("2012/05/30", "2012/05/31", "2012/06/01", "2015/08/19", "2015/08/20"), class = "factor"), 
 time = structure(c(742L, 739L, 915L, 983L, 759L, 734L, 897L, 769L, 901L, 14L), .Label = c("0:00", "0:01", "0:02", "0:03", "9:58", "9:59"), class = "factor"), 
 year = c(2012L, 2012L, 2012L, 2012L, 2012L, 2012L, 2012L, 2012L, 2012L, 2012L), 
 km = c(110, 80, 110, 80, 110, 110, 110, 110, 110, 110), 
 sps = structure(c(9L, 9L, 9L, 11L, 9L, 9L, 9L, 9L, 9L, 9L), .Label = c("CACA", "ERDO", "FEDO", "LEAM", "LOCA", "MAAM", "MAMO", "MEME", "MICRO", "MUVI", "MUXX", "ONZI", "PRLO", "TAHU", "TAST", "URAM", "VUVU"), class = "factor"), 
 pp = c(0, 0, 0, 1, 0, 0, 0, 0, 0, 0), 
 datetime = c("2012-06-09 02:22", "2012-06-19 02:19", "2012-06-19 22:15", "2012-06-21 23:23"), 
 prev = c(0, 1, 0, 0, 0, 0, 0, 0, 0, 0), 
 timedif = c(259.883333333333, 4144, 100.4, 43.2, 2.2, 453.083333333333), 
 seque = c("00", "01", "00", "10", "00", "00", "00", "00", "00", "00")), class = c("grouped_df", "tbl_df", "tbl", "data.frame"), row.names = c(NA, -10L), 
groups = structure(list(km = c(80, 110), year = c(2012L, 2012L), .rows = list(c(2L, 4L), c(1L, 3L, 5L, 6L, 7L, 8L, 9L, 10L))), row.names = c(NA, -2L), class = c("tbl_df", "tbl", "data.frame"), .drop = TRUE))

如何在标头GET请求中传递参数?谢谢您的帮助!

0 个答案:

没有答案