Skip to main content

All Questions

Tagged with
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
2 answers
84 views

How to make json format match?

I have followed a tutorial to create a candlestick graph in javascript ajax. But now I want to implement an api so there can be a chosen timescale instead of a fixed one in the json file used by the ...
64 bit's user avatar
  • 53
0 votes
1 answer
71 views

Unable to Send a large CSV through AJAX POST call

Trying to perform an ajax post call for an existing software which is running on weblogic. I am trying to send a csv through a post callwhich will be hit a java api file. But due to the file being ...
Sohom Banerjee's user avatar
-1 votes
1 answer
301 views

How to loop through JSON from JSON.parse?

I requested some data from my django server. Then I used JSON.parse to deserialized the data into a JSON object.I want to loop through each object field attribute and call the function createDiv on ...
Matthew Manning's user avatar
0 votes
1 answer
824 views

How work with github api to retrieve a repository's readme file?

I am trying to work with github api to get access to raw README.md file using /repos/{owner}/{repo}/readme, I am able to make the call using thunderclient in vscode and seeing the raw file. but when ...
anubhav adarsh'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
-1 votes
2 answers
68 views

How to use my API data I gathered through a GET request into a separate function

I am tasked with fetching data from an API and storing that data on a card for the game jeopardy I am creating. I am able to successfully fetch my data question from my api but am having a hard time ...
Antrhopos's user avatar
1 vote
1 answer
43 views

How am I supposed to load the images of json reponses into HTML?

I successfully loaded the json responses into an HTML table. However, I am having a problem displaying the images of the json variables. I could only display the links. Here is a sample of the json ...
Ashraf's user avatar
  • 37
0 votes
1 answer
276 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
1 answer
183 views

Populate a select with all the countries using ajax/php/api

I want to populate a select dropdown with all the countries from the rest countries api. I want to do so using an ajax call to a php routine that makes an http request with curl to the api, which ...
Melania's user avatar
0 votes
1 answer
32 views

using collapse in API called info in bootstrap card

I am studying Full Stack and have some crypto project to do: to call API crypto coins with ajax, search for some definite crypto from API, put to the bootstrap cards, add toggle switch and collapse ...
user20792158's user avatar
0 votes
1 answer
230 views

rest api post call from mobile device web page failed

Below js code, it can be executed from desktop correctly, but "NetworkError" from mobile phone chrome: $.ajax({ url: apiurl + '/sys/login', type: 'POST', ...
Jinzd's user avatar
  • 23
0 votes
1 answer
34 views

Hello all brother How can i post single value and multiple value to database by Javascript json endpoint to Spring Web API

{ "id": 178, "stockin_date": "2022-11-15T08:18:54.252+00:00", "effective_date": null, "expired_date": null, &...
SopheaPhort's user avatar
1 vote
1 answer
256 views

I'm trying to parse json response of a php api in ajax call but getting bad escape character error

This error only occurs when I try to parse large JSON response, suppose 100+ records. I'm trying to parse JSON containing HINDI characters in response. I've tried validating the JSON response but no ...
Vishal Vijayvergiya's user avatar
0 votes
0 answers
68 views

Call Yelp API through ajax in node.js causes 404 error

I call Yelp API in backend node.js with ajax method. I use get method to get the data, and I'm sure that my headers and get parameters are correct. Don't know why there's a 404 error. Here's my ajax ...
Jocie Hou's user avatar

15 30 50 per page
1
2 3 4 5
106