Skip to main content

All Questions

Tagged with
0 votes
3 answers
910 views

How fetch a json query response from an api in python using requests library?

I want to pass a json query as an argument in the requests.get method in python and get the query based response from the url. query_params = { "query": { "exists": { &...
Rumi's user avatar
  • 52
0 votes
1 answer
539 views

Delete row from table using Ajax and ASP.NET Core 6.0 MVC with a repository pattern

I am using Ajax to delete data from table. On clicking the delete button, I want status of that row to be set to False. Code is working perfectly on the server side. I have checked delete API on ...
musfirah hamid's user avatar
0 votes
0 answers
30 views

How to integrate JSON response - pageable with jquery DataTable [duplicate]

I am working with an API which provides the total data from database in JSON response. Along with data I am also getting few fields which are used for pagination. { "data": [{----},{----},{...
8936's user avatar
  • 1
0 votes
0 answers
19 views

Cannot convert undefined or null to object Problem - Using API balldontlie

When an API has null or undefined key values, can I somehow change the values or what can I do, when these values occur? I'm using JQuery to get the data from the balldontlie API. I tried logging the ...
Besic Omar's user avatar
1 vote
1 answer
58 views

I need to show json file comments by ID on my blog

I dont know how to call the JSON file so it will appear in the blog, I tried this method but it wont work. I think I need to use the each loop, but the only thing I get is error. $.ajax({ type: "...
new brain's user avatar
3 votes
0 answers
443 views

Error 403 with POST using ActiveCampaign API- trying to add contact, valid API key

From my understanding by Googling the 403 error means the API key is right but access is forbidden? But I'm not really 100% sure what that means or how to resolve it. Below is my code that triggers ...
Jacob Johnson's user avatar
-2 votes
1 answer
140 views

Uncaught TypeError: Cannot use 'in' operator to search for length in 73

I am trying to build a simple app as part of my assignment, but I was asked to use jQuery and PHP, which to be honest, I only know at a superficial level. My goal is to build a table where I have the ...
Jose Lages's user avatar
0 votes
1 answer
51 views

Trouble hiding a div within a template literal using jQuery

I've written this bit of jQuery code in Oxygen Builder's JavaScript element to query the job board API and return an array of departments and their jobs. I'm testing to see if the department[0].jobs....
Pugfury's user avatar
1 vote
0 answers
24 views

How can I open a post by clicking where the entire post will be displayed one by one (title and body of the post) in jquery?

By clicking on title I need to show the entire post (title and body of the post) Here is my code: console.log(chunk,numberOfItems, limitPerPage, totalPages,index); $.each(result, ...
Future Hacker's user avatar
1 vote
1 answer
387 views

How to get column from Azure DevOps using API in PowerBI?

I want to get some data from azure dev ops by calling the API in Power BI. I tried this way in the power BI script: Get Data - Blank Query: let Source = Json.Document(Web.Contents("https://...
Cheries's user avatar
  • 882
0 votes
0 answers
36 views

External api call in php working fine but giving error in Jquery [duplicate]

I have the following code for external api call in php that works fine however when I do this with jquery it gives CORS policy error . $curl = curl_init(); curl_setopt($curl, CURLOPT_POST, 1); ...
Nazia's user avatar
  • 1
0 votes
1 answer
75 views

Combine array of objects into another array per table row

I have a checkout table from where I obtain the values to later send as an API POST request. I've built two separate arrays and now I need to combine them, and I'm having trouble to achieve this. This ...
Ricardo Carneiro's user avatar
0 votes
1 answer
275 views

GET request using jquery AJAX to a php backend - returns entire page of php code

I'm learning the basics of PHP and am trying to create the most basic PHP backend possible, with a JS/jQuery frontend. My current problem is that a GET request does not execute the .php file, like I ...
Alex G.'s user avatar
0 votes
0 answers
90 views

Not getting value in input field on clicking button in jquery

Simple problem. I have id and a variable I want to concatenate. However when I click on edit button it shows id in input field but not showing correspondant department name in department input field. ...
musfirah hamid's user avatar
0 votes
0 answers
42 views

How to send data fetched from API to another HTML file using localStorage [closed]

Im using a TMDB API to search for movies and add them to a watchlist. In this javascript function im getting movie details based on user input and rendering the results to html using bootstrap. const ...
Jeancarloshm's user avatar

15 30 50 per page
1
2 3 4 5
154