Questions tagged as 'http'

1
answer

HTTP request limit and SQL queries

I am developing a system that will have a lot of requests and would like to know the opinion based on your experience. 1) A server running apache with php and 64GB of memory, would process 50,000 requests per second? Example, an HTTP request...
asked by 05.04.2017 / 03:16
2
answers

.htaccess problem for addressing without www

When I type in the browser    phimodasecia.com.br My site / store enters (is redirected) with error as below:    https://www.phimodasecia.com.br/https://phimodasecia.com.br/ My configuration for .htaccess is # =====...
asked by 01.02.2017 / 01:32
2
answers

Error starting Http server in Ruby

Hello everyone, I'm new to Ruby and I'm trying to create my first project but when I start the server with the command rails server I get this error: João@joao-note MINGW64 ~/Documents/Desenvolvimento/Rails/Primeiro_Projeto/hello (maste...
asked by 13.12.2016 / 21:45
1
answer

HttpUrlConnection - Use php to connect in Mysql

I am trying to fetch the data of a user saved in an external database to log in / register. But I run the system and there is no exception, but it does not connect. I tested the php that I'm consuming and it's working correctly. If anyone can he...
asked by 21.09.2016 / 23:37
2
answers

CRUD with AngularJS and PHP

Good evening! I have the following: var carregarUsuario = function () { $http.get("buscar.php").then(function (retorno){ console.log(retorno.data); $scope.usuarios = retorno.data; }); }; carregarUsuario(); And PHP...
asked by 16.01.2016 / 01:54
1
answer

Retrieve angular value POST

How do I retrieve the value in the php file when I use this angularjs post method? $http({ method : 'POST', url : 'xxxxxxx.com/consulta.php', data : JSON.stringify($scope.new...
asked by 17.02.2016 / 03:08
1
answer

Error while executing an HttpResponse in Android Studio

I'm trying to send a string from an Android application to a PHP page, but when I send it, an error occurs in the HttpResponse response = httpclient.execute (httppost); If someone can help me with any information to try to solve this probl...
asked by 05.11.2015 / 18:51
1
answer

timeout for $ http request (fetch for 5 seconds, if not, return 'error')

I'm setting a $ http request for zip code, so sometimes it takes too long for the API to return a response, and the user is stuck with continuing to checkout. The function worked, but when I tried to add the timeout it stopped. FUNCTION:...
asked by 13.08.2015 / 16:27
1
answer

Problems with XMLHttpRequest AngularJS

I have a $ http.get request in my application as it can be seen at AngularJS ng-repeat does not return data, returns always empty But I'm getting a Warning in the browser console with the following message: Synchronous XMLHttpRequest on t...
asked by 07.04.2015 / 23:10
1
answer

Get data on a PUT route using silex

I would like to know how you can get data passed to a put route using silex. For example: $app->put('foo/{id}', function(Request $request, $id) use ($app){ return var_dump($request->get('bar')); //return null }); This returns...
asked by 28.04.2015 / 13:37