If you are talking about FileMaker Server, it IS CWP.
If FileMaker Pro using as server ??
I'm looking to send HTTP POST and GET data to my FileMaker Server database from an external source.
i.e If i were to send a GET request to the url :
https://(my filemaker server url)/?Method=NewRecord&FirstName=Joseph&LastName=Ancer , I want the server to add data 'Joseph' and 'Ancer' to the First and Last Name fields within a new record or alternatively the same via a HTTP POST request.
user19752 is correct. You would use CWP (Custom Web Publishing) to accomplish this task. You can use either PHP or XML natively, or perhaps Ruby or .NET frameworks that are independently supported. All depends on your flavor, but the basic process is relatively simple:
1) Target page accepts GET or POST parameters.
2) Target page connects to your database, using appropriate credentials.
3) Server-side processing creates the new record.
Here's a link to the CWP guide:
Let us know if you have any specific questions.
Thank you both for your answers
If you want FMS to react as a web service then look at RESTfm from Goya or Web Services Manager from 360Works
From Ruby you can send HTTP Posts directly, without worrying about CWP or RestFM. We use a RubyGem Gingo to enter records directly.
EDIT: Looks like that's still a use of CWP, according to the docs. I though it was just using the Web Publishing engine since we aren't creating any additional files on the server side with XML.(page 9 of Introducing Custom Web Publishing).
Yes. Gingo/Rfm and others like fmDotNet all use the underlying XML API.
So if you only want to do GET interactions with FMS then that existing XML API works great and you do not need to do anything more. If you want to do POST interactions then you need to add something.