Troi Activator Plug-in has a built-in HTTP server, which will trigger a script when data arrives. The HTTP server can be started with the Actr_StartHTTPServer function or the Start HTTP Server script step. You stop the server with the Actr_StopHTTPServer function or the Stop HTTP Server script step.
There are several ways in which you can use this functionality:
- use the plug-in as an (Image) Upload Server. This functionality is explained in the separate post Image Upload Server setup instructions.
- trigger a script via a URL. This functionality is explained below.
Set HTTP Response
Set the (HTML) text which is returned to the remote client in response to the HTTP URL request.
Set HTTP Response [ Select ; Result (error) ; Response ; EventID ]
With the functionality of Troi Activator Plug-in your FileMaker Pro database can become an (Image) Upload Server. The Activator Plug-in can receive the uploaded (JPEG) images with user text and even (GPS) location information.
You can test the upload locally with your web browser.