Questions tagged as 'http'

2
answers

HTTP Error 500 in JSF

I'm having problems with HTTP error 500. I have already changed the application of Eclipse Kepler to Neon, already gave a clean in the project. I circled the project on the server with no open browser and nothing. I tried searching for the...
asked by 07.09.2018 / 16:05
0
answers

How to download multiple files with just one http request

I found several links on the subject, but I still could not make it work, examples: link link I tested with the version of chrome 69, firefox 44, edge 41. I created a TcpListener to generate the responses at hand, and monitored through th...
asked by 27.08.2018 / 16:16
0
answers

Problem reading page

I'm reading data from a page. But I would like to read this data every 3 seconds or every time the node has finished reading the data. I'm using this function here: const getScript = (url) => { return new Promise((resolve, reject)...
asked by 20.08.2018 / 20:26
1
answer

Can not read property 'token' of undefined when receiving object from angular localstorage

My login function stores a token returned from api in localstorage : localStorage.setItem('token', res.data.token); Soon after logging in, I need to pass this token to another function, but I can not get my variable to receive the t...
asked by 23.07.2018 / 18:29
1
answer

How to show Controller result in View c #

I would like to show my result that is in the controller method in View. EX: Controller: public class SMSTarifado { public int QtdTarifados { get; set; } public int QtdEnviados { get; set; } public int QtdRespondidos { get; set;...
asked by 23.07.2018 / 20:57
0
answers

Add more than one append in http header

I am making an interceptor that should add in my header a token and an authorization whenever the value of authToken is different from null. My problem is in how to add an append in my header. I tried something like: @Injectable() export cl...
asked by 23.07.2018 / 20:39
0
answers

HTTP request POST with x-www-form-urlencoded in Agular 6

I need to make an HTTP POST request with x-www-form-urelcoded in angle 6. I tried something like: pesquisaEmail(email): Observable<any>{ let headers = new HttpHeaders(); headers.append('Access-Control-Allow-Methods', 'GET, P...
asked by 10.07.2018 / 00:08
0
answers

Server does not search for style sheets

I have a site that generates the following errors: Cananyonegivemeahandonthis?ThissiteinLocalhost(usingxampp)worksnormally,nothingismissing.Butit'sjustmetotaketotheserverthatitbreedstheseerrors.Followindexheadercode.(Forthosewhoareaskingforc...
asked by 09.07.2018 / 20:56
0
answers

HTTP Resource Request - Why does this happen?

Why does this happen? Is this spacing between the request blocks? It's all loading below the other, suddenly, it seems like it's going to be 100 or 200ms, and it starts loading (from 11ms there), and then it takes a bit of time, too, an...
asked by 03.06.2018 / 21:51
0
answers

ERR_INVALID_HTTP_RESPONSE when requesting with axios on http server python

Hello, I have this simple server in python: from http.server import BaseHTTPRequestHandler, HTTPServer class S(BaseHTTPRequestHandler): def _set_headers(self): self.send_response(200) self.send_header('Content-type', 'text...
asked by 03.06.2018 / 21:49