Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

HTTP Server lazarus

 Post Reply Post Reply
Author
Željko Cvijanovic View Drop Down
Member
Member
Avatar

Joined: 01 Mar 2020
Posts: 42
Post Options Post Options   Quote Željko Cvijanovic Quote  Post ReplyReply Direct Link To This Post Topic: HTTP Server lazarus
    Posted: 29 Mar 2020 at 10:08am
where i can find an example for a "Lazarus HTTP server", which is contained within
TMS FNC Cloud pack


Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3728
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 2020 at 11:29am
There is no sample, the HTTP Server folder needs to be included to make the TMS FNC Cloud Pack compile. It is internally used to redirect calls to localhost to capture the Authentication token when using authentication against a REST Service.
Back to Top
Željko Cvijanovic View Drop Down
Member
Member
Avatar

Joined: 01 Mar 2020
Posts: 42
Post Options Post Options   Quote Željko Cvijanovic Quote  Post ReplyReply Direct Link To This Post Posted: 29 Mar 2020 at 11:42am
thanks for the reply

can it be a problem that my TMS FNC Cloud Demo can't do any examples,
"CallBack URL",
no server
(and I need to make one, how)

Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3728
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 30 Mar 2020 at 11:49am
To run the demo, you need to register your application with the services you want to use, to obtain a client-id and secret. The HTTP Server is automatically created for you, no need to do something manually here. Just make sure you are using a valid callback URL such as 

http://127.0.0.1:8000 or http://localhost:8888

on a free port on your system.

Please follow instructions at http://www.tmssoftware.biz/Download/Manuals/TMSFNCCloudPackServicesDevGuide.pdf for more information.

Edited by Pieter Scheldeman - 30 Mar 2020 at 11:51am
Back to Top
Željko Cvijanovic View Drop Down
Member
Member
Avatar

Joined: 01 Mar 2020
Posts: 42
Post Options Post Options   Quote Željko Cvijanovic Quote  Post ReplyReply Direct Link To This Post Posted: 30 Mar 2020 at 4:32pm
netstat -anp tcp | grep LISTEN
tcp        0      0 0.0.0.0:3050            0.0.0.0:*               LISTEN      450/fbserver        
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      572/sshd            
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      376/cupsd           
tcp6       0      0 :::22                   :::*                    LISTEN      572/sshd            
tcp6       0      0 ::1:631                 :::*                    LISTEN      376/cupsd

local not port 8080 or 8000
start example TMS FNC Cloud Demo
Back to Top
Željko Cvijanovic View Drop Down
Member
Member
Avatar

Joined: 01 Mar 2020
Posts: 42
Post Options Post Options   Quote Željko Cvijanovic Quote  Post ReplyReply Direct Link To This Post Posted: 30 Mar 2020 at 4:44pm
Originally posted by Željko Cvijanovic

start example TMS FNC Cloud Demo


netstat -anp tcp | grep LISTEN
tcp        0      0 0.0.0.0:3050            0.0.0.0:*               LISTEN      450/fbserver        
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      572/sshd            
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      376/cupsd           
tcp6       0      0 :::22                   :::*                    LISTEN      572/sshd            
tcp6       0      0 ::1:631                 :::*                    LISTEN      376/cupsd

local not port 8080 or 8000
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down