Title: Method GET
Last modified: August 22, 2016

---

# Method GET

 *  Resolved [megachus100](https://wordpress.org/support/users/megachus100/)
 * (@megachus100)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/method-get/)
 * Hi, I would like to know how to send the fields through the GET method.
    I tried
   setting the Field ID in the URL, but I get the name as is.
 * Example:
 * [http://eude.es/adwords-campaigns/wp-content/plugins/forms-3rdparty-integration/3rd-parties/service_test.php?name=Nombre](http://eude.es/adwords-campaigns/wp-content/plugins/forms-3rdparty-integration/3rd-parties/service_test.php?name=Nombre)
 * — POST — (FOUND!!)
    Array ( [name] => tttttt )
 * — GET — (NOT FOUND!!)
    Array ( [name] => [Nombre] )
 * [https://wordpress.org/plugins/contact-form-7-3rd-party-integration/](https://wordpress.org/plugins/contact-form-7-3rd-party-integration/)
 * [https://wordpress.org/plugins/forms-3rdparty-integration/](https://wordpress.org/plugins/forms-3rdparty-integration/)

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

 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/method-get/#post-5277261)
 * See ‘Hooks’ section, #5 of [http://wordpress.org/plugins/forms-3rdparty-integration/other_notes/](http://wordpress.org/plugins/forms-3rdparty-integration/other_notes/)
   and [the source code](https://github.com/zaus/forms-3rdparty-integration/blob/master/forms-3rdparty-integration.php#L478).
 * You’ll need to perform `wp_remote_get` inside that filter and set $post_args[`
   response_bypass`] with the response, something like:
 *     ```
       function my_3rdparty_get_override($post_args, $service, $form) {
           $post_args['response_bypass'] = wp_remote_get($service['url'], $post_args);
           return $post_args;
       }
       ```
   
 *  [kellmb](https://wordpress.org/support/users/kellmb/)
 * (@kellmb)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/method-get/#post-5277472)
 * Hi there, I am sorry to be such a dullard, but I really don’t get how to use 
   this function.
 * 1. do I put it in my child theme’s function.php file or do I put it somewhere
   else?
 * 2. Are there parts of it that need to be changed to reflect something in my form?
 * 3. Will it effect every ninja form I use if I put it wherever it’s supposed to
   go?
 * I am fairly new to WP and I just don’t understand something very basic…I can 
   tell, but if someone can help me I would be very very very.. buy you a pint grateful!
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/method-get/#post-5277475)
 * [@kellmb](https://wordpress.org/support/users/kellmb/), don’t worry about not
   understanding it, hooks are fairly complicated parts of wordpress.
 * 1. You can really put it anywhere, but the easiest/most common place to put it
   would be in your theme’s `function.php` file as you mentioned.
 * 2. The hook is just to set the response from the endpoint ([https://github.com/zaus/forms-3rdparty-integration/blob/master/forms-3rdparty-integration.php#L490](https://github.com/zaus/forms-3rdparty-integration/blob/master/forms-3rdparty-integration.php#L490)),
   which you’re overriding with the response from `wp_remote_get` vs `wp_remote_post`
   instead. If you want it to behave differently depending on the form, you have
   the `$form` argument, as well as the contents of the submission in `$post_args['
   body']`.
 * 3. It will affect every form _attached_ in the plugin admin. If you need to further
   differentiate between attached forms, you have the `$form` param in the hook 
   for extra filtering.
 *  Plugin Author [zaus](https://wordpress.org/support/users/zaus/)
 * (@zaus)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/method-get/#post-5277485)
 * Assuming resolved, but feel free to add to this thread for related problems…

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

The topic ‘Method GET’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/forms-3rdparty-integration.svg)
 * [Forms: 3rd-Party Integration](https://wordpress.org/plugins/forms-3rdparty-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forms-3rdparty-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forms-3rdparty-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/forms-3rdparty-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forms-3rdparty-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forms-3rdparty-integration/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [zaus](https://wordpress.org/support/users/zaus/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/method-get/#post-5277485)
 * Status: resolved