Is there any specific way as to how to POST API calls to triggering a PHP script?
Base URL: http://api.example.com/send/msg.php
Parameters: user, pass, src, dst
What I wish to achieve is collect user, pass, src and dst via a frontend form (Gravity Forms on WordPress); pass those variables(using gform_after_submission hook) to the newly constructed PHP script which would ultimately do a POST to the API.
It would be great if someone could point me in the right direction!
Read more here: POST API via PHP script