![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Mon, Mar 31 2014 4:09 PM | Permanent Link |
shakaworld Shaka Intekanational | Has anyone used this with Neo4j, orientdb or mongodb - or is there an example of using this with tinkerpop blueprints - thanks for any help - I was going to try to use the databases rest api and maybe a http post or server request like connecting to a web service maybe - it would be great though it these graph and document databases are supported in the future like odbc one are now
|
Tue, Apr 1 2014 4:58 AM | Permanent Link |
Matthew Jones | You can use WebBuilder with any REST service (or any service that has an http
interface). This is code I used for such: // https://i2.server.com/Answers?user=6&question=3284779&username=nope&password=nope requestResponses.URL := m_szRESTURL + '/Answers'; requestResponses.Method := rmPost; requestResponses.Params.Clear; requestResponses.Params.Add('user=' + m_szRestMyID); requestResponses.Params.Add('question=' + szQuestionID); requestResponses.Params.Add('username=' + encodeURI(editEmail.Text)); requestResponses.Params.Add('password=' + encodeURI(editPassword.Text)); requestResponses.ResponseContent.LineSeparator := #10; requestResponses.RequestContent.Text := '<Value>' + szResponse + '</Value> '; Report('Sending REST response to ' + requestResponses.URL); Report('Params ' + requestResponses.Params.Text); Report('Payload ' + requestResponses.RequestContent.Text); Report('Headers ' + requestResponses.RequestHeaders.Text); requestResponses.Execute; What the back-end server uses for its storage doesn't matter. /Matthew Jones/ |
Tue, Apr 1 2014 8:33 AM | Permanent Link |
shakaworld Shaka Intekanational | Thank you - I will give that a try
(Matthew Jones) wrote: You can use WebBuilder with any REST service (or any service that has an http interface). This is code I used for such: // https://i2.server.com/Answers?user=6&question=3284779&username=nope&password=nope requestResponses.URL := m_szRESTURL + '/Answers'; requestResponses.Method := rmPost; requestResponses.Params.Clear; requestResponses.Params.Add('user=' + m_szRestMyID); requestResponses.Params.Add('question=' + szQuestionID); requestResponses.Params.Add('username=' + encodeURI(editEmail.Text)); requestResponses.Params.Add('password=' + encodeURI(editPassword.Text)); requestResponses.ResponseContent.LineSeparator := #10; requestResponses.RequestContent.Text := '<Value>' + szResponse + '</Value> '; Report('Sending REST response to ' + requestResponses.URL); Report('Params ' + requestResponses.Params.Text); Report('Payload ' + requestResponses.RequestContent.Text); Report('Headers ' + requestResponses.RequestHeaders.Text); requestResponses.Execute; What the back-end server uses for its storage doesn't matter. /Matthew Jones/ |
Wed, Apr 2 2014 7:01 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | << Has anyone used this with Neo4j, orientdb or mongodb - or is there an example of using this with tinkerpop blueprints - thanks for any help - I was going to try to use the databases rest api and maybe a http post or server request like connecting to a web service maybe - it would be great though it these graph and document databases are supported in the future like odbc one are now >> You can communicate with any web service by using the TServerRequest/TServerRequestQueue components: http://www.elevatesoft.com/manual?action=viewcomp&id=ewb1&comp=TServerRequest http://www.elevatesoft.com/manual?action=viewcomp&id=ewb1&comp=TServerRequestQueue Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, March 17, 2023 at 10:08 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |