Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    HttpProxy and RestDataSource

    Is it possible for my app to send request directly to my rest server (instead of HttpProxy)?? The XJSONDataSource used in the Yaho showcase appears to be sending requests directly to a different server.

    Or am I missing something :)

    #2
    XJSONDataSource uses a technique called script insertion which allows cross-domain calls. Yahoo has a good overview of the technique.

    There are some potential security risks with this approach, so it's generally recommended only for public data.

    Any other server contact has to either go to the host where the page was downloaded, or has to be proxied.

    Comment

    Working...
    X