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
-
18
votes5
answers3306
viewsForm submission security in HTTP header
After some tests on the site of Yahoo and Facebook I realized that after filling in my username and password and clicking on Login, with the developer tools opened in the option Network (Chrome or…
-
18
votes2
answers4597
viewsWhat are the differences between HTTP 1.1 vs HTTP 1.0?
What are the differences between them, and for which case each is most recommended? We have the documentation of HTTP 1.1 and that of HTTP 1.0, but they are long, and I would like a brief…
-
17
votes2
answers13586
viewsUse of $_REQUEST instead of $_GET, $_POST and $_COOKIE
In PHP we have available the global variable $_REQUEST which can be used instead of using the global variables individually $_GET, $_POST and $_COOKIE. For example: <?php // utilizar $bubu =…
-
14
votes2
answers1611
viewsHow to obtain form data via "POST"?
Is there any way to receive data from an external form using the method="post" on my jsf page? I can already do that when the data traffic via GET. <f:metadata> <f:viewParam name="dados"…
-
9
votes2
answers15933
views -
7
votes2
answers1181
viewsWhy don’t browsers implement HTTP’s PUT and DELETE protocols?
For some reason the Internet browsers (Chrome, Firefox, IE, ...) decided to only implement the GET and POST methods of the HTTP protocol. Other methods such as PUT and DELETE were left out. Why? My…
-
7
votes4
answers1799
viewsMaximum amount of elements sent by a form?
I would like to know if there is a maximum amount of elements that I can send from one form to another POST as I saw GET. I know if I pass my data via GET, there is a maximum length of URL, varying…
-
6
votes1
answer1006
viewsPOST and GET on SSL
On a site, protected with SSL, are POST and GET also encrypted? The fact that GET is part of the address, even so it is encrypted?
-
6
votes1
answer989
viewsHow to reduce the size of a variable passed via POST by compressing it
My application in Android picks up the String sends to the arquivo.php that processes the data. I soon realized I couldn’t pass the code on base64 to the arquivo.php. I need some function in java…
-
6
votes2
answers1284
viewsAre there differences between Post and Request?
When I read regarding the request I always get the term post together, and that raises me a doubt. I understand that the request serves to make a request for something to the server and then the…
-
6
votes1
answer499
viewsR - download CVM data via POST (package httr) method (new - continue)
Good afternoon guys!! I would like to have asked this question there in this post, which I reference in the title, however it was not possible. What happens is this: I am using, for the same…
-
5
votes1
answer1754
viewsHow to get around the expired page problem?
My problem is this: The user logs in, the data is sent to the request page (which lists all the person’s requests in summary form). On this page is checked if the login is valid. If it is, the rest…
-
5
votes1
answer3509
viewsHow to implement a login system in a MVC standard?
I’m studying about mvc with php, I managed to make a simple start system, only I was left with doubts in some points, how can I implement my login system? where I should "take" the values of POST…
-
5
votes4
answers3838
viewsHow to run a PHP function in the background?
I’m using the cPanel API to add dynamically parked domains. So far so good, send the required data via jQuery.post() only that this process takes a little to be completed, about 1 minute. Have some…
-
5
votes1
answer175
viewsIs it possible to make a fake POST request?
I am creating a central system that validates information coming from other client systems via post and I would like to know if it would be possible for someone to make a false post request by…
-
5
votes2
answers520
viewsCheck where the POST came from
Is there any way to limit the sending of POST forms by third parties to my website? Deny everyone, like there’s the URL that does it like a robot, but I wanted to inhibit, it’s like? When I say…
-
5
votes1
answer2187
viewsRemote REST webservice in PHP receiving JSON via POST with problems
I have the following situation... A purely javascript client application that runs with Node.js, where you post a JSON, as follows: doLoad = function (livrosList){ var xmlhttp = new…
-
5
votes1
answer73
viewsTimeout when using httr:POST()
Expensive, I’m trying to hold a conference of records at CREA-RS website, but every time this giving the following error: Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached…
-
5
votes3
answers1759
viewsCreate post on a wordpress and bring in other wordpress automatically
Options: Create a new POST on a wordpress-1, from another wordpress-2. or Everything that is created in wordpress-2 be "copied" to wordpress-1 or Create/Register a product in a store(site)-1, from…
-
5
votes1
answer1057
viewsHow to get the result of the Retrofit 2.0 Request
Well, I’m starting to study Android, I’ve already requested with Volley but a friend indicated me Retrofit for being much faster and "simple". But I still don’t understand much. I have a Webservice…
-
5
votes1
answer473
viewsHow to make the webscrapping of a site that has post method?
I’m having trouble doing the webscrapping for sites using the method post, for example, I need to extract all news related to political parties from the website: http://www.diariodemarilia.com.br.…
-
5
votes1
answer133
viewsdoubts about POST method
I am learning php and would like to take a doubt if my code is vulnerable to sql Injection. In case I’m putting together a form <form method="POST" action="classes/cliente.class.php"…
-
4
votes3
answers192
viewsHow to write an array post in current Intel - input file
Next guys, I’m adapting a file upload system to php. All the bulk has already been created, Insert and update and such, but in the middle of the logic needing a conditional to check if the input…
-
4
votes2
answers213
viewsHow to get value from a checkbox
When I submit the form input does not return the value of checkbox and says that the $_POST['newsconf'] there is no. HTML <input type="checkbox" id="newsconf" name="newsconf" value="1"/>…
-
4
votes1
answer900
viewsChrome error decoding accents posted via HTTP POST
I have a form that makes an HTTP POST request to update the BD. During the request I noticed that the following message appeared for a field filled with accent in Chrome Dev Tool. For example, the…
-
4
votes3
answers16275
viewsHow to send a data to another PHP page by URL?
I know there are GET and POST methods but I don’t know how to apply them. I have a page called index.php and I have several Ivs that are generated in a while. When I click on a div I am redirected…
-
4
votes1
answer586
views -
4
votes2
answers535
viewsHow to access Action in another Controller via Ajax?
I have an Aspnet MVC project structured as follows: Projeto L Areas L Area1 L Controllers L MeuControllerArea1Controller.cs Views Area2 L Controllers L MeuControllerArea2Controller.cs Views L…
-
4
votes2
answers1335
views$_GET gets ID or name value?
The $_GET, or even the $_POST, take values from the ID of the input or of name? <form action="#" method="get" name="meuForm"> <input id="nome" name="nome" type="text" value="Teste">…
-
4
votes1
answer2809
viewsPOST via Ajax with Django
Based on https://godjango.com/18-basic-ajax/ I am trying to make a post via Ajax using Django. Then I created a project on Github https://github.com/rg3915/front-dj-test #urls.py…
-
4
votes1
answer904
viewsGrab the image of a Wordpress post from an external file
I have the titles of my last posts, but I also need to search and display the images along with the title. This is a file outside the Wordpress folder, a static page I made in HTML and CSS: <?php…
-
4
votes1
answer597
viewsidHTTP Post Response html hacked
Buenas. I’m doing a Post via idHTTP where the result comes in a StringStream. The problem that this result is coming in half. In case, by cutting the response html. There Is A Way To Buffer This…
-
4
votes1
answer535
viewsWhat is an Over-posting attack?
I came across the term Over-posting while following Microsoft’s guide to creating ASP.NET Core applications. I had made a question regarding the use of attributes in the signature of a method, which…
-
3
votes1
answer335
viewsHow to read the output from a file to a variable by passing POST parameters?
We can get the result of running a URL to a variable using the function file_get_contents(): <?php $pagina = file_get_contents('http://www.meusite.com/'); echo $pagina; ?> But how can we…
-
3
votes1
answer54
viewsAfter moving a post to the recycle bin, the Metabox values disappear when I restore the post
I have a wordpress theme where in the posts I have some custom Metabox. When moving the post to the recycle bin and retrieving it again, it does not return with the values of the filled Metabox What…
-
3
votes2
answers690
viewsSend variables using POST
I am trying to open a new URL and send variables via method POST, but it only sends in method GET. I tried that Code: // create a URLRequest object with the target URL: var url : String =…
-
3
votes3
answers480
viewsCheck whether $_GET value is 1 or 2 and run SQL UPDATE
I have the $_GET['id'] and I need to check if the value it takes from the url index.php?id= is 1 or 2, and if none of the alternatives runs a die();, if it is 1 or 2 assigning $var = $_GET['id'];…
-
3
votes2
answers1364
viewsForm submission and out-of-form array via post
I have the following problem: I need to send via post the data of a form together with the data of an html table to which I mount a array javascript. Unfortunately, I have no idea how to proceed in…
-
3
votes1
answer48
viewsPrint form with: 1.photo in the post 2. id auto increment generated in the form Insert. How is it in PHP?
At the time of registration of the form the user will put the photo, so far so good. My problem is that I need to print this form already with the photo and the id auto increment of the database.…
-
3
votes1
answer458
viewsHandle ajax request returned data with Jquery
My request: $.post( "http://painel.thomerson.com.br/imagens/escolher-template", $(this).serialize(), function(data){ $("#Resultado").html(data); } ); What is happening is that by inserting the…
-
3
votes2
answers399
viewsDoubt about HTTP POST
I’m trying to text through a Webservice. To send a single SMS is simple. Just use the URL in this format:…
-
3
votes2
answers168
viewsPHP/Mysql Add Category to Materia
Good staff never had much interest in the back-end area, but for greater reasons I’m having to learn. So far I can do the basics, which are insert, delete, update, view the data using php/mysql. Now…
-
3
votes1
answer1380
viewsClone Input text and pass the value of cloned input via POST
I need to clone an Input text by clicking on a "+" button and then pass the value of this cloned field via POST to the other form data... I’m using a Javascript function to make the clones…
-
3
votes3
answers11315
views -
3
votes1
answer14854
viewsHow to make POST with parameters in Webservice REST in java?
Hello, I have a problem that I haven’t been able to solve for days. The situation is as follows, until today I only managed to use the GET method of my webservice by passing parameters directly to…
-
3
votes5
answers1540
viewsCheck that all $_POST was shipped without using too many ifs
Good morning, I have to check that all the form fields, sent as $_POST, were not blank, this until I solved. But I wanted to see a way to not need to use too many if/Elif to check every $_POST index…
-
3
votes1
answer9927
viewsPost Idhttp com Delphi
I can do an HTML post quietly, but when I try to do it with Delphi, it presents me with this mistake: http/1.1 406 not acceptable Follow the code below: function TForm1.UploadArquivo(server, script,…
-
3
votes1
answer1031
viewshow to pick up a value and post it on a modal?
my html is like this: <a href="#modal" data-toggle="modal" data-id="login">logar</a> i need a php or javascript that does a post or onclick that sends the value "data-id='login'" to a…
-
3
votes2
answers1376
viewsRedirect HTTP post url to HTTPS on Nginx
I have an application that I receive POSTS of return of the payment system, but currently we force the use of SSL for our site, I made the HTTP redirection to HTTPS, but I get error 404 when the…
-
3
votes1
answer818
viewsCapturing the Boolean value of a PHP checkbox
I am making a product form, where the user needs to inform if the product is used or not, however I am having difficulties in capturing the value of this checkbox, if it is 1 or 0, in the mysql the…