Home
Developers

Developers

  • Documentation
    • Developer Guide
    • API Reference
    • Style Guide
    • How-To
    • Troubleshooting
  • Submit a Flake
  • Support

Pageflakes API Reference

  • Flake System Object
  • Flake User Object
  • Pageflakes Functions
  • Array Extensions
  • String Extensions
  • ContentProxy
    • HTTP GET Example
    • HTTP POST Example
    • ContentProxyResponse
    • GetUrl
    • GetUrl1
    • GetUrl2
    • GetUrl3
    • GetUrlNonCached
    • GetUrlNonCached2
    • FormPost
    • FormPost2
    • FormPost3
    • UploadString
    • UploadString2
  • App
  • RSS
  • Tooltip Manager
  • Public, Shared, and Private Pages
  • Server-Side Scripting
Home » Documentation » API Reference » ContentProxy

FormPost2

Method signature ContentProxy.FormPost2(url, parameters, headers, succeededCallback, failedCallback)
Input Parameters url The URL of the target location.
  parameters Parameters that are passed with the given URL. The parameters object is a dictionary which contains the parameters name and value as a key-value pair.
  headers

An array of headers used to create the request object.

Each header object is a one-dimensional array with two elements. The first element is the name of the header and the second is its value.

For example:

[ ["Content-Type","text/plain"], ["X-MyHeader","foo"] ]

  succeededCallback The function that is invoked when the operation succeeds.
  failedCallback The function that is invoked if the operation fails.
Callback Parameter The content of the HTTP response as a string.
Note FormPost2 method performs an HTTP POST operation.
‹ FormPostupFormPost3 ›
»
  • Printer-friendly version