Questions tagged as 'http-get'

1
answer

Listen to Restfull API consumer data updates from Angular 5

I am new to Angular, to explain myself properly I will share an example. When we have installed the Firebase library in our project, we can call the information in the Users table as follows: constructor(db:AngularFirestore){ db.collection(...
asked by 11.09.2018 / 05:19
1
answer

Assign cookies in GET order with XMLHttpRequest

I am trying to assign a cookie in a GET request, in an order XMLHttpRequest . My code is as follows: var pedido = new XMLHttpRequest() pedido.open("GET","https://www.google.com/complete/search") pedido.setRequestHeader("Cookie","SSI...
asked by 21.09.2018 / 18:32
1
answer

Obtain an image of a server with GET method

Good morning, I have encountered a problem when making my android app with android studio. What I need is to take a .png image of a server (given a url) using the GET method and display it on the screen. I have seen some old tutorials but...
asked by 08.05.2017 / 09:00
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

Error making http ionic request

I am doing an ionic test in which I make an http request to a service. This service does not have CORS implemented, so I have to create a proxy to avoid this (this is what I have been told, I think that is the case). My app is very simple,...
asked by 12.03.2018 / 12:28
1
answer

Send by POST

Good morning, I have a problem, because I was using a website sending the data by GET and of course now I am aware of this and I want to modify it to POST so that the data is not displayed. The GET data sent them via URL as follows: <td>...
asked by 28.04.2017 / 08:44
2
answers

Error Can not read property 'message' of undefined in Angular 5

I have a problem with angle 5. I have found some similar question but I have not managed to solve anything. The thing is that I have an http service that I am consuming from angular with a get request, which returns a Json. What happens to me is...
asked by 25.04.2018 / 13:05
1
answer

Put several variables in a text string

Very good, I have a variable called origin, where I want to save a text string with two variables. That variable happened to get to a page (2) using the load function. The problem is that when I make an alert of origin from the page (2), it s...
asked by 30.10.2017 / 17:35
1
answer

How to remove the json from the subscribe to pass it to an object?

I have a problem. It happens that I have a json data that I receive from the database, and when entering the service that the json brings me I enter the subscribe and assign the data json to a variable. but the problem is that using the varia...
asked by 27.09.2017 / 18:37
0
answers

Appropriate way to login to a web page from an android application?

My intention is to initiate session from code with the HTTP in a web page, and to extract data once inside the session. The problem is that to tell the truth, I am quite new in this field of HTTP ... I was looking for some tutorials on the web (...
asked by 17.09.2017 / 18:29