Questions tagged as 'post'

2
answers

How do I retrieve and calculate 2 numbers via POST on the Controller in Laravel?

I'm a beginner in language and I'm trying to learn by myself, I created a .blade.php file in order to fill two simple fields and return the calculation via submit, after that I want to list a history stored in the SQL database, but I barely know...
asked by 11.10.2018 / 16:12
1
answer

Send data via post

I have the following method namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; use App\Pessoa; class PessoaController extends Controller { public function lista( Request $request ){...
asked by 08.04.2018 / 00:43
1
answer

How to retrieve the body and header of a POST transaction in PHP?

To retrieve the contents body of a transaction that we receive via POST we use this function file_get_contents('php://input') . But there are several companies that can send a post request to our service and I need to know wh...
asked by 04.05.2017 / 21:21
1
answer

How to download the file using wget on an authenticated website?

I am trying to download a backup file that is located on an authenticated site using wget. I crawled http behavior when I login through my browser and these are the parameters: https://quire.io/login continue: s_password: fakepass s_rememberM...
asked by 01.06.2017 / 20:23
1
answer

POST encoding

In Web requests when posting data on a server a string from the template below (using the parameters): string hello = "hello"; string token = "teste=="; It is transformed into post data like the ones shown below: string post = "msg=hell...
asked by 12.08.2016 / 16:12
2
answers

MethodNotAllowedHttpException in RouteCollection.php - Laravel 5.2

Developing an application using Laravel 5.2, PHP7.0, Apache2 and CentOS 7, I'm having the following error: MethodNotAllowedHttpException . On the local server it works normally ... when I publish to the production server the error occurs, it...
asked by 19.06.2016 / 22:40
1
answer

Post with form + string

I have the following function: var form = $("#formEditarCompra"); var meioPublicacao = $("#MeioPublicacao").val(); if (form.valid() && setarFocoErro()) { mostrarAguarde(); $.post(form.attr("action"), { compra: form...
asked by 03.11.2015 / 15:16
1
answer

Passing parameters from one page to another in PHP

I have a data listing on a page. There an 'editing image' serves as a link to another page where this data is displayed again (in addition to the other client data) and it is possible to edit them. As follows, the destination page is edit.php...
asked by 05.08.2015 / 16:41
1
answer

@ Html.ActionLink submitting form Post MVC

@using (Html.BeginForm("MinhaAction", "MeuController", FormMethod.Post )) { <div> <table> <thead> <tr> <th>Empresa</th> <th>...
asked by 12.05.2015 / 19:02
1
answer

Problem sending e-mail in PHP

I need help on a form in PHP complex, because in addition to sending email to administrators, it also sends to the client. The email is in html and automatically creates a pdf through html2pdf . So it's working,...
asked by 25.06.2014 / 16:56