Questions tagged as 'json'

1
answer

Web-Service returning maximum quota exceeded. How to solve?

I'm consuming a third-party web-service. When I get the return of the service the following message is displayed:    The maximum size of incoming messages (65536) has been exceeded I have already researched forums for a solution, but I ha...
asked by 16.10.2017 / 12:54
0
answers

Group tables and return in json

I have this function that returns the data for Ajax: public function get_agenda(){ $this->db->select('prospect_agendamento.age_data_agendado_para as start, prospect.pro_nome as title, prospect.pro_id as id '); $this->db->wh...
asked by 18.10.2017 / 16:11
0
answers

MaxReceivedMessageSize (6553 6) was exceeded. How to solve?

I'm consuming a web service by SOAP, however the following message is displayed:    The maximum size of incoming messages (6553 6) was exceeded.   To increase the quota, use the MaxReceivedMessageSize property on the   appropriate membership...
asked by 04.10.2017 / 19:49
1
answer

Perl - Pass JSON data to variable and compare to IF

Good morning, I have a request that I make in an API using GET (LWP :: UserAgent), the data is returned in a JSON, the JSON are returned up to two results at most as follows: {"status":1,"time":1507891855,"response":{"prices":{"nome1\u2122"...
asked by 13.10.2017 / 12:49
0
answers

Send photo and json in the same request - Postman

I'm having trouble sending a photo and a json by postman on the same request. Ineedtosendtheprofilepictureoftheuserandatthesametimereceiveajsonwiththedataofthesame.//InstânciadaentidadeLogin$login=newLogin();//recuperandooparâmetroobjetologindo...
asked by 09.10.2017 / 17:39
0
answers

save image coming from jquery with PHP json_encode

I'm having a question when I'm going to save the images coming from jquery with PHP's json_encode. I have this jquery code to grab the images $('#drag-and-drop-zone').dmUploader({ url: 'upload.php', dataType: 'json', allowedType...
asked by 27.09.2017 / 14:42
1
answer

How to display JS objects in the view

There is already a question from our friend Vinicius Scaramel with this problem, but there is no solution answer, so come on: I'm bringing an object in the format JSON via http.get to Ionic , (using AngularJS), but when...
asked by 22.09.2017 / 17:12
0
answers

Use two different headers for two different outputs on the same call

At some point, I need to generate XLS files on my system, and use the following header for outputs: header('Content-Type: application/vnd.ms-excel'); header('Content-Disposition: attachment;filename="' . $name[$a] . '.xls"'); header('Cache-Con...
asked by 25.09.2017 / 18:18
2
answers

Bringing an API item to Swift

let httpStatus = response as? HTTPURLResponse if httpStatus?.statusCode == 200 { if data?.count != 0 { let respJson = try! JSONSerialization.jsonObject(with: data!, options: .allowFragments) as! NSArray if let codigo = respJson ["...
asked by 25.09.2017 / 15:59
1
answer

Return JSON Giving Error

I'm doing a service to get the JSON return in an Android application, so far so good, but I do not know where I'm wrong at the time of getting the value. The structure of JSON is this: "entity": { "code": 1, "message": "Sucesso",...
asked by 18.09.2017 / 00:13