POST to a REST API from a wordpress form
I dont want to use a REST API to publish to wordpress.
I want to create a form on a wordpress page which will send a POST to an external REST API. Users will put in their information, and perhaps upload a file. When the press “submit” I want this information to be sent to a REST API on a different server (not wordpress).
Are there any plugins that allow this? Has anyone done this? Of course, I might run into troubles with this: http://en.wikipedia.org/wiki/Same_origin_policy
It looks like I want to do the reverse of this:
Instead of making a REST API for wordpress, I want to make wordpress communicate send a POST to an external REST API when a user presses a button on a form.