This plan helps you in integrating the external/third-party REST API endpoints in WordPress such that you can perform operations on these External / Third-Party API endpoints on any of the WordPress or third-party plugin events by embedding the WordPress hook specific to the External API connection provided by this plugin. This plan also provides the feature to generate the custom REST endpoints in WordPress specific to your own complex SQL query.
Please note that our plugin will generate the WordPress developer hook specific to each External API Connection configured and saved in the plugin. You can use these developer hooks on your own to integrate these to the backend wherever that specific external API call is required. In case you are also looking to integrate these developer hooks on the backend according to your requirements, please contact info@xecurify.com to know more and let us know your complete requirements.
Sample SQL query → Select * from custom_table NATURAL JOIN custom_table2 where ID={{custom_param1}};
Sample API request format →
<Your domain>/wp-json/mo/v1<api name>?custom_param1=2
Sample SQL query → INSERT INTO custom_table (ID, name, email, status) VALUES ('{{custom_param1}}','{{custom_param2}}','{{custom_param3}}','{{custom_param4}}');
Sample API request format → curl -d "custom_param1=2&custom_param2=testuser&custom_param3=testuser@gmail.com&custom_param4=1” -X POST <Your domain>/wp-json/mo/v1/<api name>
Sample SQL query→ UPDATE custom_table SET
ID='{{custom_param1}}',name='{{custom_param2}}',email='{{custom_param3}}',status='{{custom_param4}}' WHERE ID={{custom_param5}};
Sample API request format → curl -d "custom_param1=2&custom_param2=testuser&custom_param3=testuser@yahoo.com&custom_param4=1&custom_param5=2" -X PUT <Your domain>/wp-json/mo/v1/<api name>
Sample SQL query→ DELETE FROM custom_table WHERE ID={{custom_param1}};
Sample API request format → curl -d "custom_param1=0" -X DELETE<Your domain>/wp-json/mo/v1/<api name>
Note 1:Please pass the arguments as per the sequence/order as
mentioned in the above sample SQL query and sample API request examples.
Note 2:The custom attribute passed in the query should be in the
following format “custom_param<i>” where i is the integer value that
starts from 1 and increases as the number of custom parameters increases
in the SQL query and also should be passed in the incremental sequence as
shown in the above examples.
Need Help? We are right here!
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com