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

GetUrl3

Method signature ContentProxy.GetUrl3(url, headers, cookies, succeededCallback, failedCallback)
Input Parameters url The URL of the target location.
  headers An array of headers used to create the request object.

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

For example:

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

  cookies An array of cookies used to create the request object.

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

For example:

[ ["session-id","1234"], ["other-cookie","foo"] ]

  succeededCallback The function that is invoked when the operation succeeds.
  failedCallback The function that is invoked if the operation fails.
Callback Parameter A ContentProxyResponse object.
Note The response is cached for 10 minutes.
‹ GetUrl2upGetUrlNonCached ›
»
  • Printer-friendly version