Questions tagged as 'json'

1
answer

Remove header return Owin WebApi

A simple return query to my REST service yields the following answer: { "Id": 1, "Descricao": "TIROLESA DE AÇO", "Und": "UND", "Fabrica": "STARROW", "Estoque": 9, "Preco": 0.39 }, However, querying with more than one object star...
asked by 01.08.2015 / 04:10
2
answers

Is there any way to send image by JSON to an api?

I want to send an image (I'll save it to the same bank), but I do not know how to send it together in POST . I'm using AngularJs : <input type="file" ng-model="user.imageProfile"> $scope.register = function (user) {...
asked by 04.11.2016 / 11:58
1
answer

Beginner with firebase

I want to implement the firebase in my application (ionic). WhenItestamessage:  Unknownprovider:$firebaseArrayProvider
asked by 27.10.2016 / 18:53
2
answers

FullCalendar: chmar an external file Json

Good afternoon, I'm trying to load an event into FullCalendar. The problem is as follows $(document).ready(function() { $('#calendar').fullCalendar({ header: { left: 'today', center: 'prev, title, ne...
asked by 01.11.2016 / 19:21
1
answer

Build javascript modules, how to package (modules)?

I'm using require js and want to optimize requests by reading documentation in github , I know you can set up a task in Grunt to concatenate my modules plus I'm a bit confused on how to set up this task and how exactly it will work. Structu...
asked by 31.08.2015 / 03:13
1
answer

How to convert latin1_swedish_ci data to utf8_bin in php?

I've got a SQL script that "mounts" 3 tables, one with country, one with states, and one with Brazilian cities. The script makes the collection , of the names, in latin1_swedish_ci and I needed it to be utf8_bin , because the...
asked by 13.01.2016 / 15:01
1
answer

Send an object using Gson

I have the following problem: I need to send an object to my web-service, however, it is not feasible to use JSONStringer because my class has many fields. What would be the best way to solve this problem? I used the following method but it did...
asked by 07.04.2015 / 13:28
2
answers

JSON API Callback

I have a question on how to filter results from a API , and would like to know if anyone has had this problem before. Let's say that we have to access a API that is on a server other than ours and returns a response in JSON...
asked by 18.10.2015 / 05:44
2
answers

Javascript + Ajax is not returning as expected

I'm trying to send the data from this page to the server, but Js does not return the Message variable ... I know little of JS and would like some way to call the variable as soon as the server receives the data.     
asked by 10.08.2015 / 22:16
2
answers

How to extract json from a jsonp into a string in Scala

I'm using Scala and I have an http response like this: _SS_MainSolrCallbackH( { response: { numFound: 1, start: 0, maxScore: 4.9338827, docs: [ { tipo: "M", id: "mus1933196",a s: 4....
asked by 11.08.2014 / 18:35