Xojo.Net.HTTPSocket error

When I try using the new Xojo.Net.HTTPSocket I am getting an error that I cannot figure out.

“There is more than one item with this name and it’s not clear which this refers…”

The code:

http1.Send("GET", txtURL.text.trim)

I understand there is another version that also accepts a FolderItem as a third parameter but not sure how this is confusing the compiler since the code clearly uses the two parameter version.

It could be that there’s no match.

If you are doing this on a non-iOS platform you’ll need to convert the string to text. Try txtURL.Text.ToText.

Ah, okay. That’s probably it then. I’m doing it on Windows. Will give that a try. Thank you!