Questions tagged as 'http'

1
answer

How to make a request $ http.get be completed before another in angularjs

I have a problem with the services in angular and it is that I am calling a function with request $ http.get inside a service that also makes request $ http.get. This is my code when I check, if you see inside it there is a function called s...
asked by 05.09.2018 / 17:15
1
answer

Model Relations in Angular 5

Any ideas on how to work my backend relationships in Angularn5 (frontend)? I have DjangoRest as a backend and I am using Angular5 as a frontend, and I get the data through http in json format, but I have the problem when dealing with backend...
asked by 24.10.2018 / 17:28
1
answer

Differences between a redirect 302 and a 307?

What is the difference between a redirect 302 and a redirect 307 ? The W3 specification seems to indicate that both are used for temporary redirects.     
asked by 23.05.2018 / 17:34
2
answers

how to pass multiple parameters per url?

I want to pass two variables through the same url I tried this: $id = '24,54,32,65,34'; $agencia = 'AGIP, ARBA'; "url?id=$id&agencia=$agencia" Clarification: yes or if it should be by parameters and variables I am using curl...
asked by 07.11.2017 / 21:06
1
answer

Chaining promises in TypeScript - Angular 2

I have an application that consumes a REST API. With a GET I get a JSON and within that JSON there are several URLs with which I also do GET. For the purpose of the application I have to be careful with the synchronization (hence I use promises)...
asked by 26.05.2017 / 00:58
1
answer

Problem with Volley NegativeArraySizeException

I'm doing an app that has several calls get using Volley (both string and JSON) and unpredictably (I can not tell when it's going to jump) I skip the following error: java.lang.NegativeArraySizeException: -603 at com.android.volley.toolbox.Dis...
asked by 25.07.2017 / 12:49
2
answers

Read Excel file with PHP

Good, I need to create a form where users can upload an xlsx file, and the web app validate the file then read it, and finally I need to put the information after evaluating it in a database, I'm using a PHPExcel library , the problem is that it...
asked by 30.03.2017 / 21:43
1
answer

Yahoo API Weather sometimes responds, sometimes not

Good morning, good afternoon. I'm using the yahoo weather API in an application but I have a problem. This is the query I do to do the GET Maybe I'll return data, maybe not, that's my problem. Is there any ip limitation to access several ti...
asked by 07.01.2017 / 13:50
2
answers

Assign the http data in ionic 2 when loading the view

I can not understand why you do not assign the value to the variable this.userProfile I tried with promises and also do not assign any ideas? Code: import { Component, OnInit } from '@angular/core'; import { NavController, NavParams,...
asked by 07.11.2016 / 19:32
1
answer

Is http caching and using cache in the browser the same? [closed]

I want to speed up the loading speed of my WordPress website. These are different terms or are they the same? If they are different, what do you recommend applying?     
asked by 23.07.2016 / 06:09