4,037 questions
0
votes
0
answers
39
views
JQuery JSONP Ajax call executing successfully but being reported as error
I am making a jsonp ajax call to a local service which responds with a valid javascript response. The ajax request looks like below:
$.ajax({
url: "http://localhost:12345",
...
1
vote
0
answers
78
views
Solr 9.3.1 not returning JSONP response correctly
I have been working on upgrading our Solr stack from v7 to v9.3.1. I have recreated my cores and populated them fresh, but when I request a JSONP callback with wt=json, I just get JSON back instead ...
1
vote
0
answers
30
views
chrome Extension manifes tV3 error - violates the following Content Security Policy directive
I am trying to send data to server in the jsonp method from the chrome extension I am developing.
However, it worked fine in manifest V2, but the following error occurs in manifestV3.
Please help me.
...
3
votes
1
answer
91
views
How to load assets via JSONP into Phaser
I am trying to load data (including images) via a JSONP feed into Phaser 3.60.0. I know how to load image asset normally as per my GameScene.js code below:
class GameScene extends Phaser.Scene {
...
0
votes
2
answers
211
views
How can I do JSONP requests from Sveltekit?
We are running a Shopify store, and have come to a point where we need more flexibility content wise. My solution to this is to have content delivered via a custom CMS to a subdomain. One issue I have ...
0
votes
1
answer
27
views
Saving GIANT JSONP to Database
Hey I got this JSONP from archive.org:
https://archive.org/advancedsearch.php?q=collection%3Ainternetarchivebooks&fl[]=creator&fl[]=format&fl[]=genre&fl[]=language&fl[]=name&fl[...
1
vote
0
answers
120
views
How to use JSONP / JQuery in Scriptlab to call API and write data to excel
I am trying to use Scriptlab to call the public Census API and write the resulting json response to excel.
Specifically, it takes the [0][0] in the range, creates an API url from that, and it is ...
0
votes
0
answers
264
views
Cannot find axios-jsonp
I installed axios-jsonp, but the error saids there is no jsonpAdapter.
Could someone help me?
I use Vue.js and I want to get data from API.
error: Require statement not part of import statement.
...
0
votes
1
answer
1k
views
How to fetch jsonp in Manifest v3
Refused to load the script 'https://dorar.net/dorar_api.json?skey=انما الاعمال بالنياتpage=1&callback=jsonp_callback_255' because it violates the following Content Security Policy directive: "...
0
votes
2
answers
117
views
Parsing complex Json response in java
How to parse below json response using JSONArray, JSONObject:
Sample JSON Data:
{
"ABC": [
{
"BCD": {
"CDE": "HIJ"
}
}
]
}
I ...
0
votes
0
answers
15
views
CORB from Vanilla JS getJSONP to Google Apps Script [duplicate]
I have a simple set up in which I populate data on my HTML page by accessing data in a Google Sheet.
This works perfectly well in Chrome, but in Edge I get a CORB error in the console. I'm using ...
0
votes
1
answer
575
views
How to parse JSONP response in python?
How can i parse JSONP response, i tried json.loads(), but it will never work for JSONP
0
votes
0
answers
7
views
handle unnamed JSONP in xmlHttpRequest Javascript [duplicate]
I have simple XMLHttpRequest.
var xhr = new XMLHttpRequest();
xhr.open("GET", url, true);
xhr.onreadystatechange = function () {
if (this.readyState == 4 && this.status == ...
0
votes
0
answers
14
views
Jquery ajax not triggering when hitting 'warning'
I have an ajax call connected to a search that is calling an api that is spitting back jsonp results. This seems to be working fantastically except when they type something that is not there.
I get ...
0
votes
2
answers
531
views
Getting parse error while fetching text file content in JQuery
I am trying to fetch data from text file which resides on server. I have access of that location and able to see content when I put URL in browser tab.
I am trying to make AJAX call and get file ...