Questions tagged as 'json'

1
answer

Error 405 when using HttpPost on Android [closed]

When you do a post on the server through Android HttpPost , I get a 405 error. only when part of Android I get this error. Does anyone know why? My code on Android is: private class sendSignUpPost extends AsyncTask<String, Void, S...
asked by 05.09.2014 / 20:44
0
answers

Is it possible to get an item from a json array to change an attribute of a rect in raphaels.js? [closed]

I would like to make an array that could serve as a database for my map represented by these 3 rectangles. The array will contain numbers that will serve as indicators for the colors of the rectangles. If item 1 of the array is 0, rectangle 1 wi...
asked by 11.06.2014 / 20:03
0
answers

Allow a script to access a google worksheet and return a JSON without authentication

I was thinking of using a google docs worksheet as a persistence of an application that I'm going to develop. For this, I made the following script in the google script editor function doGet(e) { var dados = SpreadsheetApp.openById(ID_D...
asked by 21.06.2015 / 02:13
0
answers

How to attach a file using Mandrill API?

Ie, guys! I've been trying for two days, but I have not had success yet. I know I'm close, but I need your help. I often get a lot of jobs with only front-end data. So I use the Mandrill API to email form data. In official documentation s...
asked by 05.06.2015 / 23:14
3
answers

How to update the table (bootstrap-table) via JS after registration?

Once you register (within a modal), the table must be updated automatically. But I can not. NOTE: Languages I'm using are PHP and JS. In jsfiddle, there is a small demonstration, in the JS tab is the (else) code that I am trying to do to upda...
asked by 12.02.2016 / 18:07
3
answers

How to use a string from the database [closed]

I have the following string saved in the database. {"key":"save","user":"1","season":"2016","week201549":{"bloco":"Microciclo","day05122015":{"z1":"0","z2":"0","z3":"0","z4":"0","z5":"0","z6":"0","z7":"0","terrain":"Terreno","rpe":"7","elevati...
asked by 10.12.2015 / 18:58
2
answers

Grid with auto refresh html + angularJS

Well I have a grid and it needs to be ALWAYS updated because it contains information that needs to be updated dynamically. This grid is populated with a rest flame that returns me a json. I need the grid to be updated as soon as the json of t...
asked by 14.02.2014 / 17:37
2
answers

Consume data Json - Webservice Swift 2 - iOS

I need to check price in buscape api (returns in json) in my app with swift 2. Could someone help me do this or point out a tutorial on how to do it? How to use buscape api: Using the BuscaPé API to obtain a list of products using the Find P...
asked by 19.01.2016 / 01:28
2
answers

Array in PHP for JSON

Hello, how are you? I'm getting the values from a table in a database and "transforming" them into JSON. I have the following PHP code: $sql = "SELECT * FROM pessoas"; $query = mysqli_query($mysqli, $sql); $arr = array(); while ($dados =...
asked by 24.12.2014 / 06:25
4
answers

Error Deserialize Json in Model C # [duplicate]

Friends, I'm getting error to do the deserialize of the following JSON: { "Comanda": [ { "status": "Produzido (Codigo 3)", "estabelecimento_id": 18, "cliente_nome": "Marcos Manfrin",...
asked by 22.08.2017 / 16:57