Title: Submit form with POST
Last modified: November 12, 2021

---

# Submit form with POST

 *  Resolved [Melsophos](https://wordpress.org/support/users/melsophos/)
 * (@melsophos)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/submit-form-with-post/)
 * I would like to know if it’s possible to create a form which submit POST data
   to some url (outside my domain). Basically, I want it to be equivalent:
 * > <form action=”some_url” method=”POST” target=”_blank”>
 * This goal of this form is to allow users to register to a mailing list hosted
   by [Ionos](https://www.ionos.fr/), for which the subscription form must have 
   certain properties (in particular, a POST action to a specific url).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/submit-form-with-post/#post-15062866)
 * Hello [@melsophos](https://wordpress.org/support/users/melsophos/) !
 * Hope you’re having a good day!
 * Forminator doesn’t have a feature like this out of the box. A GET request is 
   possible to be set in the Behaviour tab for the **Redirect user to an URL** setting,
   but not POST.
 * It’s possible to do so by hooking into the **forminator_custom_form_submit_before_set_fields**
   action (defined in library/modules/custom-forms/front/front-action.php) and then
   do [https://developer.wordpress.org/reference/functions/wp_remote_post/](https://developer.wordpress.org/reference/functions/wp_remote_post/)
 * Something along the lines of:
 *     ```
       add_action('forminator_custom_form_submit_before_set_fields', function(  $entry, $form_id, $field_data_array ){
           // add your code here.
       }, 10, 3);
       ```
   
 * Alternatively, maybe the Zapier integration will do the trick here?
 * Warm regards,
    Pawel
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/submit-form-with-post/#post-15134048)
 * Hello [@melsophos](https://wordpress.org/support/users/melsophos/) ,
 * We haven’t heard from you for some time now, so it looks like you don’t have 
   more questions for us.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Submit form with POST’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/submit-form-with-post/#post-15134048)
 * Status: resolved