4 Replies Latest reply on Aug 6, 2014 5:31 AM by ryanrutan

    OSAPI request within iframe on HTTPS instance


      Hello everybody.


      I've made widget that is actually turned to an iframe on some page.

      Inside widget there's an OSAPI call

      Here it is


      var price_url = 'https://www.google.com/finance?cid=11777558';

      var params = {

          'href' : price_url,

          'format' : 'text',

          'headers': {'Content-Type': ['application/x-www-form-urlencoded']}


      parent.osapi.http.post(params).execute(function (result) {




      All works fine on my local instance. But when i make this on HTTPS instance I'm getting following error.

      POST https://spotlight-uat.21cf.com/social/rpc 403 (Forbidden)


      Is it a problem of HTTPS actually??

      Is there another parse DOM of another site??