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

HTTP POST Example

This example demonstrates how to pass POST parameters when using the ContentProxy object.

POSTData = {};
POSTData.parameter1 = "Some data";
POSTData.parameter2 = "Some more data";
ContentProxy.FormPost(url, POSTData, F(this, callback), onerror);
Alternatively, the following is also acceptable:
ContentProxy.FormPost(url, { parameter1 : “Some data”, parameter2 : “some more data” }, F(this, callback));

‹ HTTP GET ExampleupContentProxyResponse ›
»
  • Printer-friendly version