Send FormData with Get and Xojo.Net.HTTPSocket

With the old HTTPSocket i can send FormData with Get Method like this

[code]Dim form As Dictionary

form = New Dictionary
form.Value(“user”) = “username”
form.Value(“password”) = “password”
form.Value(“action”) = “orders_export”
form.Value(“order_from”) = “8540”

TextArea1.Text = mysocket.SendRequest(“GET”, “”,0)[/code]

But with the new Framework Xojo.Net.HTTPSocket I can’t do it. I’ve tried it so

Dim form As Text = “user=username&password=password&action=orders_export”

Dim data As MemoryBlock
data = Xojo.Core.TextEncoding.UTF8.ConvertTextToData(form)

mySocket.SetRequestContent(data, “application/x-www-form-urlencoded”)
mySocket.Send(“GET”, “”)[/code]

Is SetRequestContent only works with POST? Where is my mistake?

Have you gotten a result by appending the request query on to the url with the GET request?

Yes, with append to the url it works. But I would like so a solution like in the old Socket.