Search found 3 matches

by kuramayouko
Monday 19th December 2022 2:02pm
Forum: Web
Topic: About HttpClient (gb.net.curl) Head method
Replies: 3
Views: 231

Re: About HttpClient (gb.net.curl) Head method

Nevermind i was using the wrong method it should be

Code: Select all

client.Get(headers)
by kuramayouko
Monday 19th December 2022 1:19pm
Forum: Web
Topic: About HttpClient (gb.net.curl) Head method
Replies: 3
Views: 231

Re: About HttpClient (gb.net.curl) Head method

Tried that but still get the same error i even changed the code to print all the Strings in the array Dim client As New HttpClient Dim url As String = "https://mysite/validate.json" Dim string As String Dim headers As New String[] headers.Add("accept: application/json") headers.A...
by kuramayouko
Monday 19th December 2022 12:09pm
Forum: Web
Topic: About HttpClient (gb.net.curl) Head method
Replies: 3
Views: 231

About HttpClient (gb.net.curl) Head method

I'm trying to use this Library on my code but still unable to set up the headers maybe i missed something. Dim client As New HttpClient Dim url As String = "https://mysite/validate.json" Dim headers As String[] headers.Add("accept: application/json") headers.Add("key: "...