Hi,
Ok.
Sure,
I'm studying the practicability of talking with an OrientDB Server instance using the OrientDB RESTful HTTP protocol : http://orientdb.com/docs/last/OrientDB-REST.html
Printable View
Hi,
Ok.
Sure,
I'm studying the practicability of talking with an OrientDB Server instance using the OrientDB RESTful HTTP protocol : http://orientdb.com/docs/last/OrientDB-REST.html
OK perfect.
I've already used thinBasic at work for some WS (Web Services) integration.
thinBasic module to use is "MSXML2"
Start from the few examples in C:\thinBasic\SampleScripts\MSXML2\ directory
In particular "HTTPS_Rest_Api.tbasic" example will show how to connect both sync of async to a bank account to get movements
Documentation and examples of the bank api is at https://www.platfr.io/#/docs/api
Let me know.
Maybe better to start a new thread not to mix tcp and WS
I will split this thread.
Ciao
Eros
The Windows web server market is minuscule to the real world based on Linux, Apache and Nginx.
According to W3Techs, Linux has a 37% share and Windows a 32% share. I believe the word 'minuscule' was misused.
Given that TB and PB are Windows apps, one bloviated opinion that might be true is: Among servers hosting Windows Web Applications, Linux is nearly irrelevant! :D
Hi,
ErosOlmi, I'm trying, and now facing an error and a question:
when using these functions :Code:Error code: 262
Error description: Invalid delimiter
https://www.thinbasic.com/public/pro...est_status.htm
and
https://www.thinbasic.com/public/pro...nseheaders.htm
- Here, theses functions doesn't even highlight within thinAir. Is it the same for everyone ?
- And, can I assume that after initializing an <ServerXMLHTTPRequest> object, I can set request headers before opening a request ? that is to say: use <ServerXMLHTTPRequest>.SetRequestHeader(strHeaderName, strValue) before <ServerXMLHTTPRequest>.Open(bstrMethod, bstrUrl [, bAsync [, bstrUser, bstrPassword]])
Sorry Eros!
I missed the point of this thread reading it too quickly.
I use libcurl for my web service needs.
Dear DirectuX,
thanks for reporting misleading help on some functions and () at the end.
I will fix parsing and help. And yes, some methods are not colored in thinAir, I will try to fix this.
Regarding your try ... did you check "HTTPS_Rest_Api.tbasic" example?
It uses .getAllResponseHeaders and .getResponseHeader... methods.
Was that example working for you?
Let me know.
Hi,
That is sadly too common to many language, thinBasic manages it rather well. In my opinion php.net 's manual is a good example to follow, regarding documentation; especially "User Contributed Notes" on each page.
Note:I've just discovered that there is an autocomplete function in thinAir, it is not enabled by default. Didn't find/looked for the dictionary to add keywords.
Precisely, I started here. Then I coded from empty script with the help of the online manual. In the example, status is 0 too. But as it is a web-online 2017 example, I didn't expect it to still work. Yet, it is by means of it I found the parenthesis are unwanted.
Practicability is ok. I proceed further.
Thanks again :good:
ServerXMLHTTPRequest object takes advance of the Microsoft IServerXMLHTTPRequest2 object
Get more info at thinBasic help file https://www.thinbasic.com/public/pro...tml?msxml2.htm
or Microsoft docs at https://docs.microsoft.com/en-us/pre...54586(v=vs.85)
.setRequestHeader should be executed after .Open and before .Send