I have two questions that I believe are related to this topic:
Background (not relevant to the questions, but may explain why it matters )I'm trying to do work in FileMaker, using FileMaker Go on my iPhone to scan barcodes, and using CNS-Barcode to get the UPC barcode numbers and barcode graphics. All this works fine. However, to then get the UPC information for the product, I had to set up a python script to go to Factual.com, get, decode and place the info into a tab-separated text file, ready for import back into FileMaker. The catch is I can't run the python script or import function from FileMaker Go on the iPhone; these steps need to happen in FileMaker Pro on my Mac Mini server, which is, fortunately, also running Indigo. So, I created an Indigo Action Group that executes an AppleScript that runs two FileMaker Pro scripts on the server machine (yeah - can it get any more convoluted!!) that run the python script (with the just scanned barcode number) and import the data from the created text file.
Background (that is relevant to the problems)I am trying to link to a RESTful URL for Indigo from within FileMaker Go on my iPhone, to run the Action Group on my Indigo server. If, the first time I link to the URL, I embed my username and password, the script executes in the FileMaker Go "browser window" and the action completes. After that, I can link to a version of the RESTful URL that does NOT have username and password, and it continues to execute correctly, until I exit FileMaker Go. Upon opening again, I need to use the username:password version again. Note - having the iPhone logged into the server with Indigo Touch, or not, does not seem to affect the need for the username:password. The same behavior occurs if I try to link to the RESTful URL in mobile Safari - I have to log in first time, but not again, until I quit and reopen mobile Safari.
Here's the two versions of the RESTful URL call:
http://username:password@192.168.0.2:80 ... od=execute"
and
http://192.168.0.2:8000/actions/Run_UPC ... od=executeQuestion 1: Does the username:password pose a problem if executed within the same network as the server?
Question 2: Is this just a case of the FileMaker web browser storing the login information, but it not being persistent, as it is for Indigo touch?
Thanks for any help,
Jim