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
-
0
votes0
answers170
viewsPHP Do a POST in Javascript Page
A Page PHP, need to pass via POST some parameters for an external page, until ai OK, but this external page has some commands Javascript. When I send via cURL or FileGetContent, page loads, however…
-
0
votes0
answers163
viewsProblems sending JSON by POST when compiled
I am with an application whose one of the modules is responsible for sending a JSON to an online API that synchronizes the data with a back system. When this module is run or debugged into an IDE,…
-
0
votes1
answer156
viewsInput added with . append() does not send POST data
The script below adds groups of fields in a form. So far ok. Fields are added but when I send the form I only receive data from fixed inputs, which are added dynamically are not received. Code:…
-
0
votes1
answer45
viewsPHP $_POST is not being created when you submit the form
I have a form whose method is POST: <form action="/includes/process.php" method="post"> <input type="hidden" name="breakDown" value="1" /> <input type="hidden" name="string" value="2"…
-
0
votes1
answer300
viewsError making request via POST
I am sending information to a page on my server via GET through my application, until then it is working normally. However, now I need to send an image in the format base64, I believe that sending…
-
0
votes1
answer295
viewsSave $_POST with var_export after generating Variable again
I needed to generate some data by taking the contents of a $_POST and saving it to a file to process it later. I did it this way: $dados = $_POST; $dados = var_export($dados, true); $handle =…
-
0
votes1
answer44
viewsInvalid argument for chmod()?
I’m trying to receive the dimensions of each photo sent, but when I run the file happens this: Error: Warning: chmod(): Invalid argument in C:\Program Files (x86)\EasyPHP-…
-
0
votes1
answer320
viewsError while executing POST method
I am facing a problem regarding the POST method, when triggering this method it normally inserts in the database, but the application (Node index.js) is finished, at the command prompt I get this…
-
0
votes2
answers3176
viewsCalling php function through a form
Good afternoon, I am trying to create a page on my site is wordpress in which the user chooses a file and this file updates a table in the database. I got code down, but when I click to load data,…
-
0
votes1
answer118
viewsServlet is responding but ajax does not reflect the answer
Good morning, I have a simple form in which I do Ubmit via ajax, then my Servlet takes this result and gives an answer, from the answer ajax will do something. I can see the answer in the browser,…
-
0
votes1
answer133
viewsPick up internal website form content (POST)
Hello. I would appreciate it if someone could give me a hand, a way to solve this problem. Programming language: PHP. Problem: I want to work with information from a website. This information is in…
-
0
votes2
answers11323
viewsView data from a Json file in HTML
I’m stuck in a situation where I can’t turn the data blocks of the JSON file into HTML, nothing appears. Below I will put the codes for you to take a look NOTE: If you can refer me to a legal JSON…
-
0
votes3
answers526
viewsUTF-8 sending by POST does not work
Have the following connection class: public class Conexao { public static String postDados(String urlUsuario, String parametrosUsuario) { URL url; HttpURLConnection connection = null; try { url =…
-
0
votes1
answer1723
viewsSend a POST request with java
I need to submit a POST request to the following address which is an Amazon API: https://ikd29r1hsl.execute-api.us-west-1.amazonaws.com/prod/contaazul/grade And in this request a JSON has to be…
-
0
votes1
answer35
viewsScript in Firestore (Firebase) does not arrive at update
I’m having trouble with the code below. The code reaches postbackRef.add and adds the information in the database, but after that it does not enter transactionsRef.Where to perform the update just…
-
0
votes0
answers85
views -
0
votes1
answer214
viewsRadio button is not passing value
I use 3 radio Buttons to select the input voltage of an equipment (110V, 220V or Automatic). If I put only 2 radio Buttons, both work normally. If I put 3, the first one doesn’t work properly. He…
-
0
votes1
answer219
viewsRepeated post in sending the data to the controller, how do I fix?
I’m trying to develop a php mvc system but I came across this problem in Create. The post is sending multiple data repeated do not know why this is happening. My view create looks like this <form…
-
0
votes1
answer699
viewsSend Json from client application and receive on Server
I have a problem sending a json from my client application to my server API. Json is generated correctly, and the POST request is made, but on the server side the following error is reported:…
-
0
votes1
answer29
viewsdata are not stored in the Database
Good morning, I made a text editor with php js and a little jquery for the link slide effect. However it is not storing in the database and does not accuse me no error anyone can tell me how to fix?…
-
0
votes0
answers136
viewsIonic 3 + Standard. Problem with http request on server
Edit: Solution 000webhost does not accept requests 'options' on your free plan. I was able to solve the problem by making the Lockable available on local network with the function php artisan serve…
-
0
votes0
answers116
viewsPOST com Angularjs e Laravel
I’m trying to send via POST to my backend Windows, but on the console it points out the error: POST http://localhost:8000/new 500 (Internal Server Error) ! ! Here is my code from Angularjs…
-
0
votes1
answer1715
viewsHow to set up a JSON upload with POST?
I need to make an API that captures some data from the machine (OS name, cpu usage, network usage etc.) and send as JSON. I was able to capture the data and have it displayed on the console in the…
-
0
votes1
answer521
viewsError using Javascript window.history.back()
Hello, I’m having trouble using the method window.history.back() in Javascript, the same has the functionality to return to the previous page of my application, the problem is that I have a POST…
-
0
votes0
answers286
viewsPassing data via post HTML JAVASCRIPT
Hello, I am doing a college job, an academic control, and when trying to remove a tuple from the database by passing the "id" of the tuple via post form, the value arrives either empty or Undefined.…
-
0
votes1
answer57
viewsError using POST Angularjs
My controller is like this: app.controller("listaTelefonicaController", function ($scope, $http) Inside it is my adding function ctrl.adicionarContatos = function (contato) { contato.telefone =…
-
0
votes1
answer226
viewsExample of Python service from Post method
Any example of a Python Post method service? I don’t know how to do this with the database connection. I know how to do Get and I’ll leave an example below. @route('/dadosBloqueios', method = "GET")…
-
0
votes0
answers756
viewsHTTP POST request with x-www-form-urlencoded in Agular 6
I need to make an HTTP POST request with x-www-form-urelcoded at angle 6. I tried something like: pesquisaEmail(email): Observable<any>{ let headers = new HttpHeaders();…
-
0
votes1
answer64
viewsHow to show the Controller output in View c#
I would like how I can show my result that is in the controller method in the View. EX: Controller: public class SMSTarifado { public int QtdTarifados { get; set; } public int QtdEnviados { get;…
-
0
votes0
answers177
viewsPOST in Reactjs with Object included, how to do?
I need to register for course instructors, in which each instructor will have a course. How do I? I’m doing it this way and it’s not going: PS.: the variable name and email receive a variable in…
-
0
votes0
answers40
viewsLoop process error using for
Hello I would like the help of you, to try to solve the following problem, I created a script that allows to take the direct link of an online video upload host, the process works, but I do not know…
-
0
votes1
answer3569
viewsAjax (POST) Laravel
I am having the famous error 419, that for a certain moment I was able to solve, but after restarting the server, it stopped working. Route: Route::post('ajax/Register', 'Ajax@Register');…
-
0
votes1
answer296
viewsmove_uploaded_file returns only FALSE
I have a problem I couldn’t identify, move_uploaded_file returns only FALSE regardless of what I pass in the parameters. Follow code: <form method="POST" enctype="multipart/form-data">…
-
0
votes0
answers92
viewsWordpress post thumbnail does not appear on Facebook
Guys I’m having the following problem: I’m creating a Wordpress site and I want when I publish his posts on Facebook to appear that thumbnail of the image of the post, but in its place is appearing…
-
0
votes1
answer31
views -
0
votes0
answers22
views -
0
votes1
answer485
viewsPost request using Curl
How do I request, after clicking a button, used Curl? <html> <head> <title>loja</title> <link rel="stylesheet" type="text/css" href="public/css/template.css" />…
-
0
votes0
answers167
viewsSimple Quotes - Bugando input / POST
When I insert into the <input> COMMENT ON A POST a single quote. ', he makes the whole row existing comment, if I put two quotes, '', he returns only one ('), if I put 3, it all goes away and…
-
0
votes1
answer181
viewsAngular - How to send an object inside a model in a POST method?
Good afternoon, I’m having a problem sending a POST to a published API on account of one of the expected parameters being an object, so the expected json is as follows : {"Cargo": string,…
-
0
votes1
answer112
viewsHow to pass array values via AJAX, via POST?
Good people! I am creating a function to enter the data of a form in the BD (AJAX - POST): function inserir_registo() { //dados a enviar, vai buscar os valores dos campos que queremos enviar para a…
-
0
votes1
answer655
viewsStore app.post nodejs request data
Speak people, I would like to know how I can use the data received from the page to use outside the app.? var SerialPort = require('serialport'); var Readline = SerialPort.parsers.Readline; var…
-
0
votes1
answer797
viewsAttributeerror: 'module' Object has no attribute 'exceptions'
I’m trying to use the module requests with python but I’m having the following errors: File "/home/santana/string.py", line 35, in <module> except requests.exceptions.RequestException as e:…
-
0
votes0
answers43
viewsVolley error PHP Android Studio, not recognizing the POST
I’m having problems with the connector or Android. I really don’t know. I already use Volley in other activities but had never given this problem. Can anyone help me in this? Returns who did not…
-
0
votes1
answer480
viewsSave content from Quill editor "wysiwyg"
I’m building a posting page I’m having a hard time implementing when picking up content. Quill Publisher Thanks in advance for your help! <script…
-
0
votes1
answer5640
viewsSend data via POST in javascript
Guys I know almost nothing about JS, and I am developing a php system with help from Cakephp 3, the following is part of my payment screen, my problem is that I need to get the values that are in…
-
0
votes2
answers118
viewsCreate data loop received by post and insert into mysql
good morning. I’m trying to make a shopping ordering system. I would like to know how to receive $_POST values and send them to a bank. The problem is that this $_POST information is dynamic. I…
-
0
votes1
answer170
viewsPass two variables concatenated into a Json object of a PHP POST Curl
I’m sending this json request in the Curl POST with PHP. Here the json of the POST: "Payment" => [ "Type" => "Vendor", "Amount" => 100, "CreditCard" => [ "CardNumber" => "$card",…
-
0
votes2
answers102
viewsAjax POST using a variable and an object
Hello, I’m having trouble sending a POST, using Ajax, only that the content has to be in this format: name: 'Nome Candidato', contents = { 'email': '[email protected], 'formacao': 'superior…
-
0
votes1
answer80
viewsAJAX files post returning null
I have following HTML: <meta name="csrf-token" content="{{ csrf_token() }}" /> <form action="{{route('clinic.picture.add.ajax')}}" method="post" enctype="multipart/form-data"…
-
0
votes1
answer190
viewsHow to display message after updating a record using PHP?
Well, inside my main page(index.php) I check if there was any request to the server. // Atualizar if (isset($_GET['update'])) { $id = $_GET['update']; $cliente = array( $nome =…