0

I need the below code to work on the site www.example.com. It defaults to a get request. I need it to do a post request.

Is there a webkit or specialized browser that would make this crossdomain posts with jsonp possible? I need the logic to be client side to avoid server overload.

$.ajax({
    url: 'https://crossdomain.com',
    type: 'post',
    dataType: 'jsonp',
    success: function (data) {
      console.log(data);
      console.log(data.msg);
    },
    data: {"something": "sent"}
});

Oh I have a certificate for "https://crossdomain.com" added to my keychain so I would need the webkit or specialized browser to be able to support this.

Eugene Scray
  • 263
  • 1
  • 3
  • 13

0 Answers0