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 GET Example

This code demonstrates the use of HTTP GET with the ContentProxy object:

ContentProxy.GetUrl("http://xml.example.com/", F(this, callback), onerror);

function callback(result)
{
// result is a string that can be used as needed
}
function onerror(exception)
{
}

‹ ContentProxyupHTTP POST Example ›
»
  • Printer-friendly version