xojo.Net.HTTPSocket Send method is vague

Hi All,

I have been beating my head against this wall for a couple hours and I am willing to bet I am missing something obvious:

[code] Dim strPost As String

qbSocket1.RequestHeader(“Content-Type”) = “application/xml”
strPost = “https://company.quickbase.com/db/bjn3iv3yk?a=API_DoQuery&includeRids=1&ticket=” + APIAuthToken + “&apptoken=” + App.kGCPDataDictAppToken + “&query={‘3’.GTE.1}AND{‘3’.LTE.10}&clist=6.7.8”
qbSocket1.Send(“POST”, strPost)[/code]

Returns the following error when I try to run the code:

There is more than one item with this name and it's not clear to which this refers. qbSocket1.Send("POST", strPost)

Any ideas as to what I am missing?

Xojo.Net.HTTPSocket does not use/accept Strings for the URL parameter.

Edit: You have to use a Text variable for the URL parameter, that should get it working.

Text…right…sigh…

Thanks Tim!

[quote=401303:@Craig Boyd]Returns the following error when I try to run the code:

There is more than one item with this name and it's not clear to which this refers.

[/quote]
Now there’s an error message that’s not too helpful.

Yeah, it didn’t even remotely point me in the right direction.