Is there any specific way as to how to POST API calls to triggering a PHP script?

Base URL:

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


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: