Jump to content

Use curl to add record to database


Craig Taylor
 Share

This topic is 5723 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi

Is there an easy way to use a url to add a record to a fmp database. We have an update script on our mac clients that currently runs this to log an update occurence in a mysql database, passing it the date and asset no(host name) of mac. I would like to get this to log innto an fmp table.

Link to comment
Share on other sites

Hi

I have tried using the following url to add a record to a test database:

http://10.10.10.2/fmi/xml/fmresultset.xml?–db=test&–lay=Updated&AssetNo=1024&–new

the database test is enabled with full privs with guest access.

No records are being added, not sure why its not working or logging any errors?

Thanks

Craig

Link to comment
Share on other sites

This topic is 5723 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.