Forum Discussion

shridharmishra's avatar
11 years ago

JSONP Support

Does Lithium supports JSONP?

  • Yes shridharmishra , as nathan  mentioned, you can get the Endpoints enabled for your community as well and then use it without having to encounter any cross domain issues by whitelisting your other domain in lithium.

    • SuzieH's avatar
      SuzieH
      Khoros Alumni (Retired)

      I want to follow up on this thread. The official recommendation from Lithium is to use CORS, not JSONP. We will continue to support customers currently using JSONP, but we cannot guarantee continued support in future releases.

  • Yes it does.

     

    You can also raise a support ticket to ask Lithium to allow cross site requests, avoiding the need for JSONP - you'll need to specify the domain/domains your JavaScript will be hosted on.

  • Yes, it does. Moreover, JSONP is just a communication technique used in javascript, not a standalone language.