Most voted "post" questions
The POST method sends the data by placing it in the body of the message. It keeps the URI separate from the data that will be sent and with this we can send any type of data by this method. When you make a record in a form and after sending the URI you do not have the question mark separating the data you entered, probably the form was sent by the POST method.
Learn more…420 questions
Sort by count of
-
3
votes2
answers1013
viewsHow to write data from a form to a database by converting the fields to JSON?
I have any form, example: <form action="confi.php" method="post" enctype="multipart/form-data"> <p><input type="text" name="nome" value="nome"> <p><input type="text"…
-
3
votes2
answers376
viewsSort Select by javascript ID
Folks I have a select via ajax pulling data from my database only when it comes to presenting the select, I’m not being able to present in order to ID Crescent, <div class="modal-body">…
-
3
votes1
answer3343
viewsLogin to site with POST request in python?
I would like to log in to this site http://www.ciee.org.br/portal/LOGIN.ASP where your form: <form name="frmLogin" method="post" action="validalogin.asp" > <span>Login:</span>…
-
3
votes1
answer12121
viewsPostasync Json C#
I have the Following class set: public class Ticket { public string name public string content public int itilcategories_id } And the following code sample: static HttpClient client = new…
-
3
votes2
answers159
viewsPost does not send the information
I need to send some information by POST to my controller, and at the same time pass a parameter in the URL. The Url Parameter I can take it easy, the problem is that the POST parameters will not. I…
-
2
votes2
answers583
viewsHow to save Metabox checkbox with multiple values
I have a loop where it shows the taxonomies of the groups in the format of checkbox, but when he saves, he saves only the last checkbox marked. I would like to know how to save all fields checked?…
-
2
votes3
answers1176
views -
2
votes1
answer261
viewsProblem sending email in PHP
I need help with a form on PHP complex, as well as sending email for administrators, send also to the client. The email is in html and automatically creates a pdf through html2pdf. So that’s it,…
-
2
votes1
answer1864
viewsMessage "301 Moved Permanently" began to appear suddenly
I have two applications that worked perfectly, however, without changes in the code, no longer work. On one side, an application with a JSP making a call POST and passing two parameters Hidden:…
-
2
votes2
answers3265
views -
2
votes0
answers109
viewsPost for consultation of NF-e data
I am trying to get the data of an electronic invoice through a post on the farm site. I am using the Jsoup library. First I did a get to get the captcha image and it worked perfectly. I created my…
-
2
votes1
answer289
viewsAbout the URL how it is encoded and POST parameters
The URL is always encoded, as is the encoding, what it encodes, and what importance or need to encode a url? I have a div, who’s got line breaks and gets something printed like: 1 2 3 in HTML gets:…
-
2
votes1
answer712
viewsPassing parameters from one page to another in PHP
I have a data listing on a page. There an 'edit image' serves as a link to another page where this data is displayed again (in addition to the other data of the client) and it is possible to edit…
-
2
votes2
answers3013
viewsChange variable value after clicking PHP button
Guys, I need you to $i change value to $i++ each click on the "Go". That is, I click the button and it will appear "1", when I click again it will appear "2", and so on. How can I do? <form…
-
2
votes1
answer382
viewsIncrease amount of form inputs sent in php post
I work with a free system and I have a problem in a routine where the system creates a table of items, and for each value field of each item an input is created, where the name receives the code of…
-
2
votes1
answer2199
viewsWhat does (-X,-H,-d) mean for this command (Curl -X POST -H "Content-Type: application/json" -d) and how to do it for the php file?
curl -X POST -H "Content-Type: application/json" -d I need to do this command and send a JSON to a certain API that will return a response but I don’t know how the structure of this would look in a…
-
2
votes1
answer85
viewsPOST coding
In web requests when posting data on a server string of the model below (using the parameters): string hello = "hello"; string token = "teste=="; It is transformed into post data equal to those…
-
2
votes1
answer824
viewsPHP - Forward $_POST to another domain
Hello, everybody I have the following page: "xxx.com.br/pagina1.php" In this page1.php contains a form whose "action" is set to "yyy.com.br/pagina2.php" (another domain) I am managing to receive…
-
2
votes1
answer640
views@Html.Actionlink submitting Post MVC form
@using (Html.BeginForm("MinhaAction", "MeuController", FormMethod.Post )) { <div> <table> <thead> <tr> <th>Empresa</th> <th>Cliente</th>…
-
2
votes1
answer1331
viewsSending data via Link (POST or GET)
Good morning my dear, I’m new around here... First of all, I want to point out that I have read the topics that exist in this forum and I could not solve my problem! My problem is to send only the…
-
2
votes1
answer1383
viewsHow to recover the body and header from a PHP POST transfer?
To recover the content body of a transaction we received 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…
-
2
votes2
answers166
viewsError trying to recover $_GET value in Submit
My system does a target search before opening the registration form, in this search I take the Destinoid parameter and enter the input. The problem is that when I click on save it fails to do…
-
2
votes1
answer496
viewsButton Loading 3 more posts
I’m wanting my button id="boot" (<div id="boot">) each time it is pressed, charge +3 testimonials. <?php query_posts( array ( "category_name" => "depo" )); if (have_posts()) : while…
-
2
votes3
answers1573
viewsHow to send parameters to a server?
I started learning Android programming very little time ago. I was programming in Java desktop but I never made any application to communicate with a server. Now I need to communicate with a server…
-
2
votes1
answer265
viewsHow to pass a post with an array to a Webform URL
I’m trying to send an array with some elements in a post to a url. I called 'Webbroser' method, passed the parameters, but still I had no idea how to finish implementing. Follows my code: private…
-
2
votes0
answers4011
viewsThe underlying connection was closed: The connection was closed unexpectedly
I have a Webform project, and I’m passing an array to a method that will post to a specific URL. However, after I run the project and send the array to the method, it breaks with the error reported…
-
2
votes1
answer41
viewsPost com form + string
I own the following Function: var form = $("#formEditarCompra"); var meioPublicacao = $("#MeioPublicacao").val(); if (form.valid() && setarFocoErro()) { mostrarAguarde();…
-
2
votes1
answer112
viewsSelected Item Listview Retrofit
I have an application that uses retrofit for connection, and in it I have a listview where I want to do a long click on it and select the position item and do a post on the webservice with this…
-
2
votes2
answers245
viewsCheck if user changed POST request
I have a javascript application that runs on the client side, in this application the user can trigger events that communicate with the server of my site through a POST request. However, I need to…
-
2
votes1
answer81
viewsFile Upload
I have the following code below: PHP: <?php $nome_temporario = $_FILES["Arquivo"]["tmp_name"]; $nome_real = $_FILES["Arquivo"]["name"]; copy($nome_temporario, "/public_html/publico/$nome_real");…
-
2
votes2
answers1588
viewsHow to pass input value with POST method using Angular
I’m trying to pass certain values of a input through the POST method using Angular, but I’m not able to pass these values in the URL and not even pick them up on the server. Could someone help me…
-
2
votes1
answer179
viewsError making POST containing "@" or "#" in PHP with Curl
I’m having a problem and I can’t fix it, I have a PHP script that submits a form using Curl. Initially I used the format array(key => value) to submit the POST data. However I came up with a…
-
2
votes0
answers41
viewserror in content registration
This is my first post so sorry if you do anything wrong if I violate any rule please let me know. my doubt is as follows: I am creating a "social network" and the post code is not working I used the…
-
2
votes2
answers2499
views -
2
votes2
answers3109
viewsMethodnotallowedhttpexception in Routecollection.php - Laravel 5.2
Developing an application using Laravel 5.2, PHP7.0, Apache2 and Centos 7, I am having the following error: Methodnotallowedhttpexception. On the local server it works normally... when I publish on…
-
2
votes1
answer737
viewsHow to download the file using wget on an authenticated website?
I am trying to download a backup file that is located on an authenticated website using wget. I tracked the http behavior when I log in through my browser and these are the parameters:…
-
2
votes2
answers52
viewsSearch only form fields with value other than 0 and put in PHP variable
I have a quote form with 70 products in which the user chooses the amount of products he wants from each one. All are named with id P1, P2...P70 and are number type inputs. <form…
-
2
votes2
answers114
viewsSelecting a Specific Value in Jquery Array
Hello, good morning, good morning! I am beginner in the area and would like to (if possible) help to resolve an issue. The user will have a field to select the cities, when selecting, the system…
-
2
votes1
answer1194
viewsPOST with angular 5
so I’m trying to make an app with angular 5 using auth with token. For this, in the login, I need to do a post on my API (which I tested by Postman and is working), but I’m having trouble doing this…
-
2
votes1
answer834
viewsAPI Web Post Returns Invalid Content Type
I am trying to send a POST request to a Web API. If I do it for Postman, it works: Now when I try to perform through the code, I get the following error: { "status": false, "message": "Content Type…
-
2
votes1
answer619
viewsSend 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…
-
2
votes3
answers593
viewsHow to get all $_POST information
I have an array sent by $_POST: array(4) { ["gabarito"]=> string(1) "4" ["resposta1"]=> string(1) "A" ["resposta2"]=> string(1) "B" ["resposta3"]=> string(1) "A" } I need to take this…
-
2
votes2
answers433
viewsHow do I recover and calculate 2 numbers via POST in Controller in Laravel?
I am a beginner in the language and I am trying to learn by myself, I created a php .blade.file in order to fill two simple fields and return the calculation via Submit, after that I intend to list…
-
2
votes1
answer259
viewsHow to upload an image to Nodejs?
Good afternoon, I want to make a POST Request of the client in JAVASCRIPT with DATA Send (file . jpg) in date URL for the NODEJS server. [Client] - Javascript finalImg.onload = function(event){ var…
-
2
votes2
answers475
viewsHttpclient POST request with Angular 7 returning Undefined
all right? I’m having trouble making http requests on my Angular CLI project. When I use this.http.post(url, dados, config).subscribe(ret => this.retorno = ret) and then I give…
-
2
votes1
answer24
viewsYou can create @POST method with Jersey returning a List
Good afternoon! I am developing a Webservice where I need the query method to receive an object as a search parameter and return the list found in the database. I found several tutorials from…
-
2
votes1
answer126
viewsI cannot receive the values of a PHP form via POST
I’m having a problem in a php form that I don’t know how to fix. I have a file called login.php that contains a form that sends the data via POST to the.php data file. In the.php data I do the…
-
2
votes0
answers46
viewsReceiving null in variable for Count() PHP function
I am not able to perform the UPDATE in the database because the page is returning me that $id_regiao2 is null in function Count(). Script: html += ' <input type="hidden" name="id_regiao2[]"…
-
2
votes1
answer62
views"local" server with python, does not receive an external POST on the same network
I have a server running on Windows 7 PC and am using Pycharm IDE to edit and simulate. This server is receiving information from an ESP32 module that is connected on the same PC network. Sending the…
-
2
votes1
answer95
viewsHow to insert JSON values in Postgresql using Nodejs?
I intend to perform an Insert in a table in Postgresql. The values that will be used in the query are from a JSON in which I have access through a GET. fetch(…