interfacing with the database from outside c5
Permalink
Hello,
Now my client wants their Magento2 site to post data over to the concrete5 database. Is it possible? I'm using concrete5 to store the results of an email-catcher. Now I need another website to send send email addresses submitted through a form to the concrete5 site.
If we had some kind of API to interface with c5 through, we could build external sites that interface directly with c5. Such as building a site in node that actually fetches and stores its info in c5.
Now my client wants their Magento2 site to post data over to the concrete5 database. Is it possible? I'm using concrete5 to store the results of an email-catcher. Now I need another website to send send email addresses submitted through a form to the concrete5 site.
If we had some kind of API to interface with c5 through, we could build external sites that interface directly with c5. Such as building a site in node that actually fetches and stores its info in c5.
Given that c5's database schema isn't publicly documented, I think this would be a risky venture.
Check this tutorial it shows how to create a simple API to post a blog article.
The principle is exactly the same for what you want to do
https://documentation.concrete5.org/tutorials/creating-a-simple-api-...
The principle is exactly the same for what you want to do
https://documentation.concrete5.org/tutorials/creating-a-simple-api-...