Questions tagged as 'post'

2
answers

PHP - Form with field validation sent repeatedly

Following the suggestion of the moderator Sérgio, I am sending a new question, since the previous one was flagged as duplicate and the only answer received did not solve the problem. But I want to make it clear that all suggestions given in resp...
asked by 17.05.2016 / 15:26
1
answer

request.post () does not work correctly by generating a 301 redirect in Nginx

I'm having a problem when using request.post('url', data) , for some reason when the server receives this request, it redirects (301) the request to the same url by losing the POST data, ending as a GET method. Python: >>>...
asked by 01.04.2016 / 22:33
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
2
answers

Blank page when executing sql command [closed]

When I run the index.php page, there is a form that goes to the login.php page When the login page is executed it is completely blank, it does not execute anything. The code is as follows: <?php include_once("../../conf.php"); $mysql...
asked by 12.05.2015 / 14:04
1
answer

POST (PHP) with JSON

Well, I researched an answer and did not find it so I decided to ask here. I was doing a login system with JSON and PHP that should send a POST through JSON however the variable "_POST" always returns empty, prints: This is the JSON that it s...
asked by 22.03.2015 / 15:20
2
answers

Get SQL before POST in a ZQuery

Well, does anyone know how to get the sql executed in the POST of a query in insert mode? For example, I have the student table with id and name: begin tblAluno.Insert; tblAlunoID.asInteger := 1; tblAlunoNome.asString := 'Carlos';...
asked by 13.08.2014 / 19:47
2
answers

Form post does not work in Laravel 4

I'm trying to send data from a form via the POST method, but it's not going to work at all. Follow my code // routes.php Route::any('/', function() { echo Request::getMethod(); // Aqui esta sempre retornando GET return View::make(...
asked by 17.10.2014 / 04:18
1
answer

Send a modelView as a parameter to a modal bootstrap

When looking for how to render a partialView in a modal bootstrap , I found this link: Using Bootstrap Modal window as PartialView , but I need to make a POST request by clicking the button that opens the modal. That is, I need t...
asked by 20.05.2014 / 17:02
0
answers

Refactor the code using JAX-RS

I'm starting in the programming world and have to refactor a routine using another library. The routine uses the apache lib to do Http requests org.apache.http.* , I have to refactor using Jax-RS. Here is the example of the routine I ha...
asked by 21.11.2018 / 15:38