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
answers20
viewsHow to make a web scraping on an aspx site using python
I’m trying to scrap a page that uses aspx. The point is that when I go to inspect element the data I need is there, but when I give the requests on the page comes everything from html, except the…
-
0
votes1
answer69
viewsAjax Javascript Post Authentication Failed
I have an LP that submits a form. I’m taking a test to call a POST when I click Botao to submit a JSON to my API. The JSON is converted. But when you call the $.ajax post it gives…
-
0
votes1
answer167
viewsUse Javascript to create multiple input with different ids automatically
I am building a system that receives numbers and then passes them to a form, until then everything is working well, I can generate one or more input with the value I want, my problem is that when I…
-
0
votes1
answer321
viewscompose a POST type request using a PROMISE function
I am a python programmer and I am programming now in javascript with Nodejs, I am already able to program normally but a doubt that is not letting me progress in the language is the issue of the…
-
0
votes1
answer33
viewspost type variable does not load
Very good evening I’m developing a chat (for study) and I made a form to send the messages as I always do but the php file does not load on the local server of the http 500 error that usually occurs…
-
0
votes0
answers21
viewsHow to send POST data from the front to the back
I am developing an application with nodejs/express and I came across the following problem how the data is sent from the front to the back By using the Postman that is used to test the requests I…
-
0
votes1
answer34
viewsProblem with POST at Angular
I’m building an Angular login system. The back-end is in cakephp. The request for preflight is being done correctly and receiving status 200 (figure below). After the preflight, the angle sends the…
-
0
votes1
answer32
viewsForm Does not send data
Guys, give me a hand. I am testing a login screen for a personal project, when I click send the test server does not receive any data. Follow the code below. <div class="container col-10 col-sm-6…
-
0
votes1
answer24
viewsRedirect to a page through a post
People needed to do the following I have a page made in pure html and in it I have an area where the user can put his email and ask to register it. Ai wanted to take this email from inoput text and…
-
0
votes1
answer164
viewsSumming Values of an Array Grouping by Key
I posted a question here this week, but it was negative for lack of more information, from then on I ended up solving the problem in question, so I will leave here the solution I found and if you…
-
0
votes0
answers43
viewsI can’t return any information or send it to the database (javascript, Node, sequelize, postgres)
Good afternoon, you guys! I am doing this project of registering classes with login screen, admin user etc. and I am currently assembling the back end of the project. The goal is to create a day and…
-
0
votes0
answers22
viewsPost Request does not pass `getParams()`meters with Volley’s Stringrequest
When I make a POST Request according to my function postRequest() using the StringRequest of Volley I cannot access the parameters passed on getParams(). However, the method getRequest() works as…
-
0
votes1
answer31
viewsI cannot return ID when entering data via ASP NET Controller POST
I have the code below, and I need the ID returned as soon as I insert the object. If there is already a registered project, it does not do the insertion, but I need to return some data as empty or…
-
0
votes1
answer63
viewsPost request returns error 500
I have a simple Python script that sends a post request with a certain payload but it returns error 500. I’d really like someone to help me. The code: def answered(self,answer): headers = {…
-
0
votes1
answer126
viewsCannot POST nodejs
I am making a nodejs application and came across the following error: Cannot POST /news/news/save how do I fix? admin js. module.exports = function(application){…
-
0
votes1
answer20
viewsTaking data from a select to trigger an IF before sending the data (POST)
I am improving my original project, where the Giovane solved the problem I had, but now I’m in a situation where, depending on the select, I’ll have different options and actions. In my current use,…
-
0
votes0
answers13
viewsHow to implement a R & Graphql process that checks the existence of next pages combining the results?
How to implement a R & Graphql process that verifies the existence of next pages by combining the results? I described a process that returns OK when the query is a text but returns error when I…
-
0
votes0
answers27
viewsJSON data post by CURL
I’m starting to use JSON-SERVER, I don’t have much knowledge yet. I’m trying to make a JSON data POST with CURL in windows cmd. I’m using the following code: curl -d "{"nome":"usuario1", "idade":40,…
-
0
votes1
answer32
viewsRequest error - GET method, Javascript, Ajax,
Hello, I’m trying to make a request but it’s not bringing the data script js. $.ajax({ url : "https://dwconsorcios.com.br/api/v1/contemplados", type : "GET", dataType:"json", success:function (data)…
-
0
votes1
answer34
viewsHow to receive data from a WEBHOOK in php (Data sent in $_POST by webhook)
Beginner in programming if anyone can help me. <?php ini_set('display_errors',1); ini_set('display_startup_erros',1); error_reporting(E_ALL); header('Access-Control-Allow-Origin: *');…
-
0
votes1
answer21
viewsHow do I send a multidimensional array via a post to receive in a form?? in php
<?php $funcionarios = array( array("nome" => "Pedro", "idade" => 24, "salario" => 2245.32, "filhos" =>3, "ativo" => true), array("nome" => "Rossana", "idade" => 35, "salario"…
-
0
votes1
answer41
viewsHow do I send multiple requests to the same URL (same API) in Python?
I’m calling an API that creates table in Hive. I’m developing an automated test script to make 30 requests and be able to create 30 tables in Hive. For this, I put a logic in which the tablename for…
-
-1
votes1
answer59
viewsDoes postLink method not exist in Cakephp version 2.4.4?
I am trying to use the postLink method to delete images using the name of these. However Cake gives me an error saying :Warning (512): Method Htmlhelper::postLink does not exist [CORE Cake View…
-
-1
votes1
answer1593
viewsForeach repeating the same content
Setting I have a form and via POST send to the page preview.php 10 song names that are divided between 4 arrays. I can generate the 10 Divs containing the position array but when I create the…
-
-1
votes1
answer974
viewsHow to encrypt a POST via Ajax
How do I encrypt the posts I send via Ajax? For example in Telegram Web they do this, you can see by XHR with the requests sent and received. Example of how it is in Telegram Web (I wish my…
-
-1
votes1
answer1014
viewsFeatured Post - Wordpress
So I want to do something like in the following example http://www.f1bc.com/ Type, the frame that appears on the home of the site I left, where has a post with the big image and 2 on the right side.…
-
-1
votes1
answer216
viewsHow to return PHP value without having to reload the page?
At first I found this question Run PHP without updating the entire page, that gave me a notion, but did not help me to solve the problem. It is the following: On the page pag_messages.php all user…
-
-1
votes1
answer150
viewsSend a POST and how do I recover the data in ANGULAR?
onSubmit() { console.log(this.formulario.value) this.http.post(this.configUrl, (this.formulario.value)).pipe( map(res => res)) .subscribe(dados => console.log(dados)) } This is my post code,…
-
-1
votes1
answer54
viewsReply form An error occurred while sending the message!
I have created a form that in the approval environment is responding and going to thank destination page. When I go up to the domain server it is responding negatively. Someone tells me where I am…
-
-1
votes2
answers778
viewsPost Sends data but webapi captures null
I’m taking this header from the Fiddler. POST http://localhost:8887/api/values HTTP/1.1 Host: localhost:8887 Proxy-Connection: keep-alive Content-Length: 352 Accept: */* Origin:…
-
-1
votes2
answers284
viewsPassword encryption in Javascript
I have this snippet of code that makes the sending of user and password to my web service done in Asp C#. function validation(){ var json =({ "emailUser": email, "passwordUser": passWord });…
-
-1
votes1
answer67
viewsHow to get the value of this Array in php?
I’m doing an Axios.post and sending an object with JSON.stringfy() In my php file I gave var_dump in the reply and $POST returns an array like this: array(1) '…
-
-1
votes1
answer815
viewsHow to make a POST with "Multipart/form-data" using C# in Console applications?
I’m trying to do it like this and it’s not working: var content = new MultipartFormDataContent(); httpClient.BaseAddress = new Uri(urlFinal); var fileContent = new…
-
-1
votes1
answer39
viewsId and Product getting null when saving data Many To One
Whenever I try to create an itemPedido list and use it in a request mapper, it ends up as id and null product. Already trackei with the Debugger and it does not catch the reference with the…
-
-1
votes1
answer50
viewsI made a capture of fields of the comic and gives this error
After I put this code below .... $capturaValorTotal = $_POST['valor']; $capturaValorPagar = $_POST['valor-pagar']; $valorDevido = $capturaValorTotal - $capturaValorPagar; $inserindoBanco = "INSERT…
-
-1
votes1
answer180
viewsI’m using Captcha but there are still robot attacks
In the form Submit I am using the standard validation of Capctha (version 2 of Google) for the firing of e-mail, but for some reason robot attacks still pass, filling my inbox. I make the check as…
-
-1
votes2
answers365
viewsfilter_input GET
I need to recover the value of GET to perform an insertion in the bank through the post method, but when calling the function through Submit, "Call Stack". Code <?php session_start();…
-
-1
votes1
answer705
views -
-1
votes2
answers101
viewsForm with PHP sends POST variables to same page with jQuery without reloading
This basic code below will be used to filter via POST and jQuery a SELECT on a PHP page. The form sends to the same page, jQuery receives and sends to PHP, which receives via $_POST["campanha"];.…
-
-1
votes1
answer352
viewsHttp Post in Angular
Guys, I’m trying to do an http post to send a json to the server but it’s giving an error. My code is as follows the Imports import { Component, OnInit } from '@angular/core'; import { FormGroup,…
-
-1
votes3
answers107
viewsReceiving e-mail without data
I created a form using phpmailer, but every day a blank email arrives, without having filled in the name, phone or email. I believe it’s a search robot, does anyone know how I can remove it? because…
-
-1
votes2
answers71
viewsPOST does not receive the data
I’m having a problem retrieving the form data. I have this excerpt on my page, it gets the array contact and I print the data in the respective fields, I click on the link at the end to send the new…
-
-1
votes1
answer150
viewsSalary form in php
I have problems with my code, fill out the form using the POST method but my php doesn’t print right, I’ve done a desktop test and it worked, but whenever I use the POST method the page does not…
-
-1
votes1
answer152
viewsCallback in anonymous function returns Undefined
I need to create two functions. One of them where I will make a request in Javascript to pick up a Bearer Token, and the second, I will use the token to call another function. However, I’m not…
-
-1
votes2
answers65
viewsWhy do I get a blank page instead of redirecting like this in the command (header: Location)?
Good evening guys, I recently took a PHP course and decided to venture a little creating a login system with $_COOKIE. When I manually set the variable, I can validate the login, but when I pass the…
-
-1
votes1
answer2457
viewsBlocked cross-origin request - JS/CORS/AXIOS
I am using an API (Axios) to connect my application backend to frontend, however, I am not able to give POST (register a new record) on one of the pages because Mozilla Firefox blocks cross-origin…
-
-1
votes1
answer60
viewsDelete button does not work!
Good evening! I have a page excluirConta.php that is not functional, here is the code: <?php session_start(); require_once("../banco/conexao.php"); if (isset($_SESSION['id'])) { $id =…
-
-1
votes1
answer88
viewsData from a PHP POST request does not arrive as JSON
I have a problem to make a POST request directly from PHP to REST, because the data does not arrive in JSON format. {"status":"ok","result":{…
-
-1
votes1
answer102
viewsInsert HTTP does not work Cannot read Property 'id' of Undefined
Talk, you guys, good morning! To two days studying about HTTP request routes, in my GET I can easily, but when trying to use the POST returns the following: Cannot read Property 'id' of Undefined…
-
-1
votes1
answer30
viewsPost goes as Null in the Node api
I am learning how to create a simple API with Node. The get works perfectly, but the post ends up going like null. The code goes like this const express = require('express'); const server =…