Thanks! We have a custom website (not running WordPress / FF) on the one side, would like to implement a post form there, that targets a WordPress / FF site. Could we just call that API from the non-wordpress / FF site? Or does that API require wordpress / FF on both ends?
No, the API does not require WordPress/FF on both ends. A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services. REST stands for representational state transfer and was created by computer scientist Roy Fielding. The WordPress/FF API is a RESTful web service, which is a web data exchange standard that uses JSON as the REQUEST/RESPONSE.
REST API REQUESTS require an authentication method. When you install the Formidable API add-on, an API key is created for your site. The key is your authentication string that you pass from the requesting system to allow access to the receiving system.
You don't mention the platform you're using for your non-WordPress system. If your platform's foundational language can send REST API REQUESTS, Formidable can receive it and process it. Likewise, Formidable can send REST requests to non-WordPress REST endpoints to pull information into Formidable. An endpoint is a URL that triggers some functionality on your server. REST is a 2-way transfer process. If you can construct a REST payload with a JSON REQUEST header, Formidable will process it and add an entry to the database.
Let us know how you make out with this. It sounds like an interesting project. Good luck.
API projects require advanced development and diagnostic skills that not all WordPress developers possess. If you run into issues developing your code, you may be able to find assistance in the Formidable Masterminds Developers Directory at https://formidable-masterminds.com/developers-directory/. If you've been part of this community for more than a day, you find a lot of familiar names in the directory.
Please login or Register to submit your answer