Questions tagged as 'post'

2
answers

I get the error: Uncaught SyntaxError: Unexpected token

On line var order = {$cargo.val();} I get the error:    Uncaught SyntaxError: Unexpected token. <script type="text/javascript"> var $cargo = $('#cargo'); var order = {$cargo.val();}; $('#idBoton').on('click'...
asked by 18.07.2018 / 17:11
0
answers

Assign variable php and retrieve it by json and android studio

I have the following query in php: $SQL_select="SELECT SUM(TIMESTAMPDIFF(minute, reserva_estacionamiento.hora_reserva,reserva_estacionamiento.hora_salida) * estacionamiento.tarifa) as resultado FROM reserva_estacionamiento inner join estaciona...
asked by 12.07.2018 / 03:03
1
answer

I do not take the ajax fields

this is the error    index_for_we.html: 42 POST    link 400 (Bad   Request) (anonymous) @ index_for_we.html: 42 dispatch @ jquery.min.js: 3   r.handle @ jquery.min.js: 3 index_for_we.html: 60 You saved this item   {response_key: "c23603c2230...
asked by 18.07.2018 / 20:17
0
answers

Uncaught (in promise) SyntaxError: Unexpected token in JSON at position 2

<html> <title>Titulo de la web</title> <meta charset="utf-8" /> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/b...
asked by 18.07.2018 / 22:20
0
answers

Problem passing a base64 image over HTTP POST in Python

I tell you, I have the following problem: I have a WebService in C # where one of the parameters that I have to pass is a string (the image converted to base64string) I really do not know why the base64 string is not being stored correctly...
asked by 23.06.2018 / 04:13
1
answer

Error in Post Method in JavaScript using Fetch

I'm trying to make a Post to send a Push Notification through Expo, this is for an application developed in React native, I'm doing it from Javascript and it sends me this error Failed to load link : Response to preflight request does not pa...
asked by 19.06.2018 / 15:58
0
answers

Undefined index: password in C: \ xampp \ htdocs \ Mentor \ checklogin.php on line 20

In my form I have the input with the names username and password <div class="form-group"> <form name="" id="loginForm" action="checklogin.php" method="POST" enctype="multipart/form-data"> <div class="form-g...
asked by 25.05.2018 / 14:46
1
answer

PHP, when relogging resends the data

I have a PHP form that passes the data by POST method to the same page (since the action is the default). When a user enters a data incorrectly, for example, his password, this is registered in the database, the problem is when he refresh the...
asked by 07.05.2018 / 21:44
0
answers

android volley POST integer

In the web service I have the following method public int Post([FromBody]JObject value) { int count = 0; try { //Primero comprobamos que el usuario y el hash son correctos int idUser = Conve...
asked by 04.05.2018 / 10:39
1
answer

FORM It does not send by POST some fields that come from MYSQL

I am making a form as follows: <form id="datosventa" name="datosventa" method="POST" action="nventalentes2.php"> <?php $montura = $_POST['categoryName']; $paciente = $_POST['paciente']; $query2 =...
asked by 24.04.2018 / 20:05