Questions tagged as 'json'

0
answers

Webapp in PHP works locally but in live server not [closed]

As the title says, I have a webapp in PHP (not made by me), it works properly mounted on a local server (in XAMPP), the problem is that when I upload it to the live server a section and other things leave to work or not show as they should, I al...
asked by 26.02.2018 / 09:54
1
answer

Error consuming JSON. RESTful Angular app.js

I have the following project, quite simple, that consumes the following JSON object obtained from a local web service. {"nombre":"Miguel","id":1,"profesion":"Desarrollador"} My app.js is like this: $(document).ready(function(){ $.ajax...
asked by 03.01.2018 / 14:06
1
answer

I want to send a file in a JSON using an AJAX without using formData, is it possible?

I have a form that I sent with an ajax. I extract the data with jquery and I put them in prototype to send them in ajax with a dataType: 'json'. Come on normal. var datos = { nombre : $('#nombre').val() } $.ajax({ url: '../...
asked by 18.01.2018 / 17:26
0
answers

Graphing with bandwidth in D3 v4

Considering this example make one with my own data in V4 version, keeping in mind that many aspects change. But I graph in a single bar and change the axis but not the graphic. How do I leave my graphic, two different bars and not one, What...
asked by 14.12.2017 / 12:51
1
answer

Failed in json_encode ()

Good morning I have a problem with a JavaScript variable that I'm trying to initialize with a PHP json_encode (), but then when I inspect the code of the page; there is nothing inside the variable, that is, as if there was nothing inside the...
asked by 16.11.2017 / 13:24
1
answer

Help, make consultation with ajax, json, php

Greetings friends, I am currently solving an exercise in which I want to make a query without having to reload the page, for this reason I am using ajax ... But I have been several hours and nothing that I have with the solution, e watched some...
asked by 16.11.2017 / 11:13
0
answers

Modify a JSON file with $ getJSON (JavaScript)

I have the following code: $.getJSON("config.json", function(json) { json.Lanzador.nombre = nombre; }); where: name: is the value I want to assign; config.json: is the json file that I want to modify json.Lanzador.nombre: follo...
asked by 17.11.2017 / 11:02
0
answers

Amcharts Export Plugin does not download the data correctly

The problem is when I set a time range and try to download the data in .XLSX format that feeds the Amcharts chart. According to a 2-year query should be 19 columns (Fixed) and 24 records corresponding to 24 months, when opening the downloaded...
asked by 24.11.2017 / 21:28
1
answer

How can I parse more objects that I have within arrays in JSON and kotln?

   Quotation in block What I want is not to repeat code can pull the data without doing array, array1 etc how can I do it? val stringRequest = StringRequest(Request.Method.GET, URL_DATA, Response.Listener { response -> progressDial...
asked by 22.03.2018 / 21:42
0
answers

Send Gson (JSON) using HttpURLConnection

I am trying to send the data in JSON from android (client) to a PHP server that will only save this data in the database and send a 1 or a 0 depending on the success or failure of the INSERT operation. . I read that there is a library calle...
asked by 02.11.2017 / 20:48