Questions tagged as 'json'

0
answers

Problem with library FS.h Error "ets Jan 8 2013, rst cause: 2, boot mode: (3,7) ets_main.c" # 5466

Esimates I have a Nodemcu 1.0 V3 CH340 - when using the example of the Arduino IDE ESP8266 / ConfigFile of the Arduino IDE I load the program with "ESP8266 Scketch Data Upload" (according to instructions of link ) - with the corresponding file"...
asked by 10.12.2018 / 04:43
0
answers

I want to make an order by child but it does not work with firebase

my javascript var referencia = database.ref("news").orderByChild("fecha"); var news = {}; referencia.once('value') .then(function (snapshot) { news = snapshot.val(); console.log(news); var newsBlog = document.getE...
asked by 19.12.2018 / 16:23
1
answer

API REST java persistence onetomany

Hello friends, I'm going back to consult you again, and from now on I thank those who will take the time to respond and help me. Well I'm new in all this java, I tell you that I'm trying to generate a api rest with two related tables, I'm occupy...
asked by 09.12.2018 / 20:31
0
answers

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

I've been looking for the solution to this error everywhere, but no. I would need your help to be able to continue with the project. Here's the php and js. PHP: <?php $accion = $_POST['accion']; $password= $_POST['passw...
asked by 10.12.2018 / 19:10
0
answers

Pass JSON-Ajax variable to PHP variable

I need to pass an array / JSON / Ajax variable to a PHP variable, so that I can manage it in my file. I currently have this in index.php: <script type="text/javascript"> $("#enviar").click(function(e) { e.preventDefault(); var...
asked by 10.12.2018 / 18:16
0
answers

Nodejs problem when uploading image to the server with 'formidable'

Hi, I'm trying to upload a file, in my case it will mostly be an image or images in a director of my backend made in nodejs, then I leave the code of the function that subverts the image with formidable : router.post('/uploadImage', (request...
asked by 10.12.2018 / 16:00
1
answer

Receive a single object of a class using JSON and parsing to java with GSON

I have a webService in PHP and MySQL that sends me a JSON with the data I need. The problem is that in the android activity I have always used this code to pair the JSON: Gson gson = new Gson(); p = gson.fromJson(result, new TypeToken<List&...
asked by 05.12.2018 / 18:08
0
answers

Problem updating the browser with the Apache Tomcat web server

I'm starting to make a web system with Netbeans using server apache tomcat . My problem occurs when I make modifications to my Javascript file. I save the changes and re-run the page, but the browser does not update the chang...
asked by 05.12.2018 / 20:25
0
answers

Send data by AJAX and return it by JSON

I'm trying to make a routine where the user enters a validation code and the moment he gives in sending; send what the user wrote, make a query to the database and there make a tour of the information to return it. This is something I've trie...
asked by 04.12.2018 / 22:40
0
answers

problem with JSON when you flash an id

Esteemed I introduce myself to this great community, I always look for help here but it is the first time that I am forced to publish an application, since I thank those who can respinderme. My problem is that I'm getting this error when runn...
asked by 02.12.2018 / 16:59