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
-
1
votes2
answers403
viewsDoubt about Custom Post Type
I made a custom post type for Wordpress, but when showing posts in the category does not work. If I enter the URL example.com/category/mensagem-02/, nothing appears. Can anyone help me? The code I…
-
1
votes1
answer2343
viewsReceiving JSON with PHP via $http.post()
I want read a JSON in PHP received from a function $http.post() from Angularjs, I’ve tried using json_decode() and set up the header (both in PHP and Angular) but it didn’t work. PHP accuses it to…
-
1
votes1
answer127
viewsConvert Windows application to Windows Phone - C# (Httpwebresponse and Httpwebrequest)
I have a C# class for Windows that works normally, but I’d like it to work on Windows Phone. The idea is to use HTTP methods get and post from a web page that has CAPTCHA. I will show the captcha to…
-
1
votes1
answer984
viewsPOST Request with token
Start an HTTP request via POST method for the authentication URL, with the following parameters: login password sponse = http://api.dominio.com:8025/name/login? token="MY_TOKEN" The response of the…
-
1
votes0
answers69
viewsPOST data is not being sent
From one day to the next all systems contained in the same server stopped sending the data via post. I’ve made sure that the form and the script backend (PHP) are correct, and it is. Just because…
-
1
votes1
answer773
viewsHTML - Use Httpurlconnection to log into website
I’m trying to log into a site using Httpurlconnection, as shown in the code below, taken from mkyong’s website: private final static String USER_AGENT = "Mozilla/5.0 (Windows; U; Windows NT 5.1;…
-
1
votes1
answer556
viewsPOO with PHP $_POST
How It Should Be Done for a Super Global $_POST Value To Enter a Class. I’ve tried several ways, but without success. This value will be dealt with within the class.
-
1
votes1
answer122
viewsIF in Reply function POST does not work
have a POST inside a javascript function and this post returns a response function the problem and that the IF in the response function is not working <script> $(document).ready(function(){…
-
1
votes0
answers157
viewsHow to get and send to a php file a combobox selection
I need to know how to reach the selected value on combobox when you press the commit button and how to call that value in the new file .php: I know there are similar examples already here, but note…
-
1
votes2
answers288
viewsPOST request on Swift does not work
Good morning, I searched for several sites a way to make a POST request to a server, found several forms and tested them all, but none worked. I can receive page data and even send GET variables to…
-
1
votes2
answers1023
viewsRoute Post is not being recognized (Laravel)
Good, I’m still new to using the Laravel 5, but I have a problem of Routes that I can not find solution anywhere (just the same problem Here and with no viable solution) Let me explain, in the…
-
1
votes1
answer1280
viewsHow to Post a method by clicking a button type=button
I’m making an application where when I click a button I have to send an email. I got my page one input type=Text and a button type="button" that with css got like this ->. I need that when I…
-
1
votes2
answers431
viewsPHP does not take the auto-fill values
Good morning, I have a little problem and I hope you can help me: Busca_cep <!-- Adicionando JQuery --> <script src="//code.jquery.com/jquery-1.10.2.min.js"></script> <!--…
-
1
votes2
answers643
viewsHow do I send data from a table html in a form post?
I have a form that contains a list within a tag table, how do I upload the data from this table to the table itself POST form? Without using hidden inputs. If possible in pure Javascript, but if no…
-
1
votes0
answers81
viewsUpload with AJAX, does not go with files older than 2 megas
I have an image UPLOAD code with AJAX: $.ajax({url:"php/upload.php", type:"POST", data:new FormData(this), contentType:false,cache:true,processData:false,success: function(resposta){ It only works…
-
1
votes1
answer102
viewsWhat is the importance of filtering super-global?
I wanted to know more details of what could happen when I stop filtering super global, mainly for data insertion. What loopholes could be opened? I started with php a little while ago and was making…
-
1
votes2
answers446
viewsWEB Service in Java
I’m creating a Web Service, but I’m having a lot of doubts about how to receive JSON as a parameter. @Path("WebService/{json}") @POST @Consumes(MediaType.APPLICATION_JSON)…
-
1
votes0
answers99
viewsPrevent c# Repeated Posts in Wordpress?
I have the following code, using the Joeblogs Wrapper private static void Postagem(string website) { try { string link = "http://MEU.SITE"; string username = "user_wp"; string password = "senha_wp";…
-
1
votes1
answer174
viewsASP.NET - . aspx does not receive fields from the form post cross Omain
I have a form template that I want the customer to use to paste on your page. The form points to a. aspx page on my server. At the Page_load event in mine. aspx I want to get the fields filled form…
-
1
votes1
answer14
viewsWordpress - Single Stylization
So I have a post type services and in it some posts, among them "brides". What happens is the following, the single-qd-service.php was stylized, consequently all the single of the post type services…
-
1
votes1
answer1756
viewsPOST and GET methods in C#
I would like to know if you have any library or any third party component that do the POST and GET on the websites. I need to navigate some sites but I can not do GET nor on the home page of a…
-
1
votes2
answers81
viewsIs it possible to use $_POST within sha1? or other encryption?
I am comparing forms using sha1 as follows sha1($_POST['txtEmpresa'] + $_POST['txtFornecedor'] + $_POST['txtDocumento'] + $_POST['txtValor'] + $_POST['txtVencimento']); Is there any way to reduce…
-
1
votes0
answers86
viewsWhy don’t you send in a form?
I have already looked at all the code and I can’t find where the error is. The form does not send the data when I click the send button. <section id="inscricao" class="bg-light-gray"> <div…
-
1
votes1
answer605
viewsMaximum body size of a POST request
I have an APP that sends data via POST to a WEBSERVICE. The problem is that I have a BLOB field (the data inside it is giant) and I send about 30 records per request. My question is, there is a…
-
1
votes2
answers690
viewsHow to pass variables as a parameter in a JSON object on Swift?
I’m making a call POST with Swift using the Alamofire library. The service call works, but I need to check the email and the password user-typed. How do I pass the variables email and senha in the…
-
1
votes1
answer1346
viewsHow to use POST on a json for an Http server
I was thinking how can I post a json to an http server. The code I am using to do json is as follows: Person person= new Person(); product.FirtsName = "Ola"; product.ID = 1; product.age= 10; string…
-
1
votes3
answers465
viewsColumn 'Activocirculation total' cannot be null
I’m finding it very strange what’s happening because yesterday worked perfectly! I created the following code: require_once 'credenciais.php'; //pega dados do formulário de ativo e passivo…
-
1
votes0
answers81
viewsTaking data from an external action form with POST
Hello. I’m having a problem trying to recover data from a form where its action is an external url. <form accept-charset="UTF-8" method="post" name="formIntegration" id="formIntegration"…
-
1
votes0
answers36
views -
1
votes0
answers243
viewsAndroid sending POST Json using JAX-RS receiving object with null array
I am trying to post an object but the array only comes null.. someone can tell me what is wrong? @XmlRootElement public class Produto implements Serializable{ private String nome; get e set...…
-
1
votes3
answers99
viewsConditions do not return expected values
I have a simple HTML and php application, which consists of 2 fields, where they will be received in a php page by the method $_POST. If I add the values to the field, it goes correctly. However if…
-
1
votes1
answer811
viewsWP plugin to show post time
Ola, I have a Wordpress site and would like to show the time of publication of the posts. my website is www.urgentenews.com.br Does anyone know any plugin ?
-
1
votes0
answers164
viewsPass R parameters in an api with Post method?
Friends, I created an R api using Plumber with the post method. but when it comes to calling this api and passing the parameters I’m not getting , I call this way: resp <- POST("http:url", body =…
-
1
votes1
answer179
viewsSubmit a form using request in php
Good morning guys, I am making a form (course work) and need to echo in all information typed in the form using REQUEST (can be POST too) when I click the "Submit button". I searched the internet a…
-
1
votes2
answers366
viewsError on Android connection with Restfull Web Service
I’m developing an android app for a college course. I am connecting the Restfull Web Service with android using the Gson library to pass data. In the method below I am performing a POST request, in…
-
1
votes0
answers131
viewsGet data by POST on Reactjs
When I need to capture data in Reactjs via querystring, I use the command this.props.match.params.[NOME_DA_QUERY]. Does anyone know how to capture when this data comes by POST?…
-
1
votes1
answer71
views -
1
votes1
answer113
viewsWhy are the data disappearing by refreshing this page?
While I wear that filter for real estate, everything goes well but at the time I refresh the page, the checkbox makes the search disappear. It undoes all the session or at least gives an error in…
-
1
votes2
answers78
viewsBecause stop["value"] is returning nothing
I’m creating a project in Ruby on Rails, where I create a shout with the following route in Postman: POST:http://localhost:3000/api/yells { "user_id":"1", "title":"caneca", "desciption":"beber",…
-
1
votes1
answer35
viewsHow to pass HTML form element parameters directly to the URL
I need to pass information directly to the browser but the result of the code is always returned as https://xxx.com/? cli=value need to return in the URL only the value contained in the input…
-
1
votes1
answer546
views$_POST without closing modal bootstrap
I have to open a form in a modal using bootstrap and when sending it I want to receive the data without closing the modal I open the modal like this: <a data-toggle="modal"…
-
1
votes1
answer569
viewsCall to a Rest Webservice with a Post Request
I wanted to make on Android, a call to a Rest WCF Webservice, through POST orders. In C# I can, sending the post, url and the body param. But in the Android, whenever I send a parameter, the…
-
1
votes1
answer201
viewsHow to work with the $http service of Angularjs synchronously?
How to work with Angularjs $http service synchronously? In this case I’m using Angularjs + Laravel and 3 tables to save a questionnaire (where an evaluation has several questions, and each question…
-
1
votes1
answer637
viewsGet response from a restful java web service on Android
I am developing an application for Android and would like to know how I do to receive a response from the server, the technology I am using on Android is retrofit 2. After sending a POST request,…
-
1
votes0
answers609
viewsHelp - Uncaught Error: Syntax error, unrecognized Expression: #[Object Htmlformelement]
Problem in validating a form with ajax, follow the error.. $.ajax({ type: "POST", url: "adicionaConcorrente", cache: false, data: $("#" + varForm).serialize(), beforeSend: function() { // Faz alguma…
-
1
votes1
answer412
viewsPHP and javascript - Getting javascript value in PHP (use of Session)
On the site I took over from another developer, done in PHP and Javascript, there is a search for events created (all registered in Mysql database table). In each event searched, I created a button…
-
1
votes2
answers112
viewsHow to lock commit via an ajax request by a bind() event on button
The ajax request, returns me "1" or "0". Every time I click the next button, but it is not blocking the commit. As I should do to validate the values, if I have a "0" answer, it should lock the…
-
1
votes2
answers705
viewsCalling form submission by function
I am trying to send a form through a function. It follows the structure. form with id: nickname input with id: surname event keyup in input. onkeyup="$(this).check()" Javascript (function($) {…
-
1
votes2
answers698
viewsHow to send form parameters instead of angular JSON?
I’m trying to send a POST Angular way, the same way I did in the JQuery, however, when trying to capture the data via variable $_POST, is not bringing any value. I’m running a code similar to that…
-
1
votes1
answer3799
viewsSend ajax requests using pure javascript POST method
I am trying to submit a form using AJAX through the POST method but I am not succeeding. Can someone help me? function gooSubmit(url,id){ //declaração das variáveis var sd =…