Linked Questions

425 votes
4 answers
149k views

I know JSONP is JSON with padding. I understand what JSON is, and how to use it with jQuery.getJSON(). However, I do not understand the concept of the callback when introducing JSONP. Can anyone ...
Someone's user avatar
  • 10.6k
36 votes
3 answers
179k views

As you know, the security of the web browser disallows making of cross domain requests. I read a book which says that you should use XMLHTTPRequest only if you can put the files on the server (means ...
VB_'s user avatar
  • 45.9k
13 votes
1 answer
30k views

I am trying to access cross origin site via script. So I am getting an error, I have searched on internet that shows the solution is the JsonP. Anyone Please help me to know what is jsonp . and ...
Maulik Anand's user avatar
  • 1,459
10 votes
3 answers
5k views

Possible Duplicate: Please explain JSONP What is JSONP, why is it needed, and what are some real world examples of it's usage.
Mark Kanof's user avatar
  • 1,446
6 votes
1 answer
4k views

Possible Duplicate: Please explain JSONP For example in the jQuery documentation I find both JSON and JSONP mentioned. What is the difference exactly? How can I see which is which? Which one ...
Svish's user avatar
  • 159k
2 votes
1 answer
4k views

I'm using Angular 2.RC4 and typescript I have class with data: import {Injectable, Injector, ReflectiveInjector} from '@angular/core'; import { Http, Response, Headers, RequestOptions, ...
jaroApp's user avatar
  • 899
3 votes
1 answer
2k views

I'm a beginner of ASP.NET Web API. Fail to use jQuery.getJson() to get ASP.NET Web API this failed: var url = "http://localhost:56110/api/Values"; $.getJSON(url, function (data) { $(&...
Lynne's user avatar
  • 557
3 votes
0 answers
1k views

I am trying to make a JSONP call in Angular 2, but every time I am getting this error: Refused to execute script from 'https://www.linkedin.com/oauth/v2/authorization?response_type=code&...
Dheeraj Agrawal's user avatar
1 vote
2 answers
868 views

I'm making a jsonp request and I get this error Refused to execute script from 'https://myurl/test.php?callback=%27callback%27' because its MIME type ('text/html') is not executable, and strict MIME ...
af_inb's user avatar
  • 103
-1 votes
1 answer
1k views

I'm trying to send a request and get a response from another website using jquery. Request is sent and i've got 200. But I cant get a response message from the server and what I see evretime is that ...
Pavel Kotau's user avatar
2 votes
2 answers
237 views

Possible Duplicate: Please explain JSONP On page 'www.foo.com', can a script loaded from 'www.example.com' send ajax requests to 'www.example.com'? I need to make a ...
user avatar
0 votes
1 answer
725 views

jsonp = (url, callback) => { var callbackName = 'jsonp_callback_' + Math.round(100000 * Math.random()); window[callbackName] = function(data) { delete window[...
kekeee's user avatar
  • 475
-1 votes
1 answer
327 views

I have googled the life out of the search engine and am unable to find a fix for my error 'Uncaught SyntaxError: Unexpected token ':' all I am trying to do is open JSON file from js folder. here ...
Waheed Rafiq's user avatar
-2 votes
2 answers
122 views

I'm using the API of an affiliate network (Sovrn), expecting to retrieve a product's specification using the URL. As per their documentation, I use: url = 'URL-goes-here' headers = { "accept&...
Zsolt Balla's user avatar
0 votes
0 answers
139 views

I need some basic help figuring out how to make a call to the Yummly API. I understand JSON is not JSONP and I'm trying to understand the difference but I'm really struggling because I'm not even sure ...
Fofaster's user avatar
  • 127

15 30 50 per page
1
2 3 4 5
21