Dim url As String = "https://www.XXXXX.com/interface/rest/inteligentSearch/getFullTextData"
Dim hc As New HttpClient(url)
hc.ContentType = "application/x-www-form-urlencoded"
hc.Headers.Add("Accept","application/json, text/javascript, */*; q=0.01")
hc.sCookies.Add("JSESSIONID","F13AA7A30C7633EC1A977149A3F2939D")
hc.sCookies.Add("__jsluid_s","182579a38d31f324ab6317c280583d06")
hc.sCookies.Add("cookie_www","36802747")
hc.sCookies.Add("Hm_lvt_3b83938a8721dadef0b185225769572a","1642406313,1642411971,1642470401")
hc.sCookies.Add("Hm_lpvt_3b83938a8721dadef0b185225769572a","1642485954")
hc.Headers.Add("User-Agent","Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36")
hc.Headers.Add("X-Requested-With","XMLHttpRequest")
Dim jo As New JObject
jo("token") = ""
jo("pn") = 20
jo("rn") = 20
jo("sdt") = ""
jo("edt") = ""
jo("wd") = " "
jo("inc_wd") = ""
jo("exc_wd") = ""
jo("fields") = "title;projectno;"
jo("cnum") = "001"
Dim jo1 As New JObject
jo1("istop")= "0"
jo1("ordernum")= "0"
jo1("webdate")= "0"
jo1("rowid")= "0"
jo("sort") = jo1
jo("ssort") = "title"
jo("cl") = 200
jo("terminal") = ""
Dim jo2 As New JObject
jo2("fieldName") = "categorynum"
jo2("equal") = "004"
jo2("notEqual") = Nothing
jo2("equalList") = Nothing
Dim ja1 As New JArray
ja1.Add("014001018")
ja1.Add("004002005")
ja1.Add("014001015")
ja1.Add("014005014")
ja1.Add("014008011")
jo2("notEqualList") = ja1
jo2("isLike") = True
jo2("likeType") = 2
Dim ja2 As New JArray
ja2.Add(New JObject)
ja2(0) = jo2
jo("condition") = ja2
Dim ja3 As New JArray
ja3.Add(New JObject)
ja3(0)("fieldName") = "webdate"
ja3(0)("startTime") = "2021-10-19 00:00:00"
ja3(0)("endTime") = "2022-01-17 23:59:59"
jo("time") = ja3
jo("highlights") = "title"
jo("statistics") = Nothing
Dim ja4 As New JArray
jo("unionCondition") = ja4
jo("accuracy") = ""
jo("noParticiple") = "0"
jo("searchRange") = Nothing
jo("isBusiness") = "1"
'Output.Show(jo.tostring)
hc.Content = jo.tostring
Dim ret As String = hc.GetData
Output.Show(ret)
'