I want to use AJAX to insert data from our database.
I assume I can write a *.js to call the SOAP Advanced API, then insert AJAX directly into a template page which sends the SQL statement to the .js and returns the xml from the SOAP.
Hopefully this will work - but what about the API key? Anyone would be able to read it with browser dev tools and have full access to the database.
Any help would be appreciated.
Thank you,
Robert
I assume I can write a *.js to call the SOAP Advanced API, then insert AJAX directly into a template page which sends the SQL statement to the .js and returns the xml from the SOAP.
Hopefully this will work - but what about the API key? Anyone would be able to read it with browser dev tools and have full access to the database.
Any help would be appreciated.
Thank you,
Robert
Comment