HTTP Server lazarus

where i can find an example for a "Lazarus HTTP server", which is contained within
TMS FNC Cloud pack


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.

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)

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.Pieter Scheldeman2020-03-30 11:51:43

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