Takes a URL and goes to it using the POST method.

This function is valid in v2.14.3. This function has been downloaded 4 times.


{string} url
The URL with the GET parameters to go to.
{Array|Object=} opt_data Optional
Data to be passed when posting to the URL. If this is an array, it should be an array of arrays where the inner arrays' first elements are keys and the second elements are values. If this is an object, the keys are interpreted as the keys and the values as values. If the values are some type of object or array they will be JSON stringified.
{string} opt_target
Target frame for where to post to.


The HTML form element that is temporarily to created to post to the specified URL.

Required Functions

This function directly requires the following functions which are included automatically:

  • entries()
    Gets an array of pairs (array of length 2) indicating all of the keys and values within a given array or object.
  • extend()
    Adds extra properties to an object based on the properties owned by other specified objects.