kkelchev Posted October 6, 2020 Posted October 6, 2020 Hi to All In hyper server mode Is it possible to send a http: POST / GET request to a specified node. How to tell to HyperServer to forward request to specific node (for example node "0") Is it possible to send request and this request to be forwarded(broadcasted) to all currently running nodes. It is about custom application commands to nodes , question is not related to client sessions Something like: https://myAppl.com:8077/n0?runbackup=now or https://myAppl.com:8077/broadcast?nodeCmd=some_node_comand Thanks Kamen 1 Quote
kkelchev Posted October 30, 2020 Author Posted October 30, 2020 Team , please for any comment . Quote
Administrators Farshad Mohajeri Posted November 5, 2020 Administrators Posted November 5, 2020 I will try to schedule it for next build. Quote
kkelchev Posted January 11, 2021 Author Posted January 11, 2021 Hi , Did you have time for this ? Thanks Quote
jackamin Posted August 26, 2024 Posted August 26, 2024 is this resolved? I am having the same problem if I send this http request see below to a standalone unigui application then it works fine but not if it is running through hyper server this is the post request(works in standalone): response:=lHTTP.Post('https://mydomain.com/WEBSERVICES?WEBSERVICE=IACSCANEXISTS&DBNAME=abc', m); this is what I have in hyper_servcie.cfg [application-4] enabled=1 alias=webservices binary_name=IACWEBSERVICES.EXE persistent_node=1 initial_nodes=2 max_nodes=5 max_sessions=0 sessions_per_nodes=0 if this problem is resolved please let me know how to fix it. Note: if you enter the request in a browser(chrome) then it works fine I get a response when running in hyperserver but not from from delphi app. Quote
jackamin Posted August 26, 2024 Posted August 26, 2024 it is working now The problem was making a call to https, needed to add SSL IOHANDLER after lHTTP := TIdHTTP.Create(nil); if pos('HTTPS',URL.ToUpper)>0 THEN BEGIN IOHANDLER:=TIdSSLIOHandlerSocketOpenSSL.Create(lHTTP); IOHANDLER.SSLOptions.Method:=sslvSSLv23; lHTTP.IOHandler := IOHANDLER; lHTTP.HandleRedirects := True; END; 1 Quote
Abaksoft Posted September 1, 2024 Posted September 1, 2024 On 8/26/2024 at 11:52 PM, jackamin said: it is working now The problem was making a call to https, needed to add SSL IOHANDLER after lHTTP := TIdHTTP.Create(nil); if pos('HTTPS',URL.ToUpper)>0 THEN BEGIN IOHANDLER:=TIdSSLIOHandlerSocketOpenSSL.Create(lHTTP); IOHANDLER.SSLOptions.Method:=sslvSSLv23; lHTTP.IOHandler := IOHANDLER; lHTTP.HandleRedirects := True; END; Many Thx jackamin You safe my time Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.