Questions tagged as 'http-request'

0
answers

Expired page Laravel, why?

I'm creating an api here, for some reason I get this message "The page has expired due to inactivity. Please refresh and try again." Follow Controller <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Re...
asked by 06.09.2017 / 02:19
0
answers

Make dump html from a private Google Plus community

I'm trying to make a request http of a Google Plus page from a private domain. I am currently using lib requests from Python. import requests content = requests.get('https://plus.google.com/communities/107246698599792754395') print content...
asked by 23.08.2017 / 18:17
1
answer

SSL Failure on GET request with Groovy HttpBuilder

I can not make a GET request on the following link using Groovy HttpBuilder: link I have already tested the method below: ignoreSSLIssues() But it always returns the exception: error: javax.net.ssl.SSLHandshakeException: Received f...
asked by 04.08.2017 / 23:16
0
answers

Making http post request to webservice

I'm doing a http request here for a webservice apsh , to make a request I do this: validaLogin(user: User) { var data = JSON.stringify({ email: user.email, senha: user.senha }); console.log(data); return this.http.po...
asked by 16.06.2017 / 18:52
1
answer

HTTP Access Control (CORS) for multiple domains

How to release HTTP access control (CORS) of images using XMLHttpRequest for all domains below in .htaccess and not using global permission with "*": Access-Control-Allow-Origin: http://www.osite.com.br, https://osite.com.br, http://osite.com....
asked by 23.05.2017 / 16:29
1
answer

Error Listing Object Data in PHP

As you list these response data, especially IMG, the data below BELOW: $data = file_get_contents("php://input"); $objData = json_decode($data); $categoria = $objData->categoria->name_categoria; $titulo = $objData->titulo;...
asked by 26.04.2017 / 22:02
1
answer

URI Rest with HttpServlet

So, I'm developing a mini framework for study purposes, using the pattern front controller in java, and I came across the following problem. First of all, I'll explain how it works. I embedded the jetty server inside the framework, when I...
asked by 02.03.2017 / 02:51
1
answer

HttpSessionListener a single session per user

How can I make only one http session open per user on the system. Key technologies in design: Spring 4 JSF 2.2 Hibernate 5 Example: User juca, works on your computer using 3 browser. (IE, Firefox and Chrome) If he logs in w...
asked by 22.10.2016 / 01:06
0
answers

Failed to connect to server - Unable to resolve host "play.googleapis.com": No address associated with hostname

I'm creating an app in Android Studio that will send information to a web service that will insert the data into the database. But when I press to insert the data, the program returns this error: Failed to connect to server: java.net.Unknow...
asked by 07.09.2016 / 01:39
0
answers

Bug reading csv per http request (WebService)

I'm having trouble reading a csv file through http request. It would be a RESTFul webService that receives a csv and uses its content. I have already tried to read it in different ways, with opencsv, JavaCsv .. Anyway, the bug I'm having is that...
asked by 01.07.2016 / 21:22