Questions tagged as 'post'

3
answers

generation and sending of array php by post

I have a mysql query: while ($qry = mysql_fetch_array($res)){ $id_prod = $qry["id"]; $id_venta = $qry["id_venta"]; $idcl = $qry["id_cl"]; $garzon = $qry["usuario"]; $valor_total = $qry["valor"]; $prod= $qry['producto']; --> es...
asked by 07.02.2018 / 15:52
0
answers

{"error": "unsupported_grant_type"} Angular

How about, I have the following code in angular to try to access the API of BMSKaseya, in postman I run it perfectly with the same parameters and Headers, but in angular I get the error {"error": "unsupported_grant_type"} Can you help me? acce...
asked by 06.02.2018 / 21:53
0
answers

Recaptcha is not validated

My problem is that my reCAPTCHA is not validated, this is the message I get:    We detected that your site is not verifying reCAPTCHA solutions.   This is required for the proper use of reCAPTCHA on your site.   Please se...
asked by 22.01.2018 / 18:38
0
answers

Go through $ POST arrays with conditional

For the following form and using inputs type Select with Values that are part of an array, I must pass them by $ POST to a DB, with the conditional that if they are not passed in the specified order mark error and indicate the Values of the Sele...
asked by 25.01.2018 / 21:12
1
answer

Make HTTP Request by Post in IONIC 3

Someone would know how to make a request for POST, passing a value per header and two parameters, I'm doing it data = { 'nombre_usuario' : 'josejoserra', 'password' : '1234'}; return new Promise((resolve, reject) => { this.http.post(this...
asked by 10.12.2017 / 18:19
1
answer

How to return to a page that you are using POST

I have a form A that sends me to a page with a form B (I get the data of A with the post method), the submit of B makes modifications in a database and then I have to return to B but obviously when putting header ('Location: B.php') I get an err...
asked by 18.11.2017 / 03:33
0
answers

Query token using HTTPS

I try to connect to the following address to obtain a token, I try it in the following ways, but in all of them I get a query error, these are the examples I use for the query and the routes as they are created: string client_id = "api-stag";/...
asked by 17.11.2017 / 18:05
2
answers

Data SOMETIMES are not saved in MySQL database

< a href="https://i.stack.imgur.com/7ngv4.png"> I have an update system of data for a web page of news, consists of a form to put image, title, subtitle, text .. The form serves, works correctly, I know because when I use it, the rows...
asked by 09.11.2017 / 22:00
1
answer

Get php values

I need to get values in php, the problem is that I do not know the name of the variables that are sent, is there any way to get the name or variables with php? the code is as follows $deviceID = $_SERVER['HTTP_DEVICEID']; $rawPostData = "Devi...
asked by 02.11.2017 / 00:40
0
answers

Why is my function with headers in ajax not executed?

I have problems connecting to a webservice, I have managed to connect with php but I do not need to do it with ajax but I can not move forward, I have realized that the token is never sent, only the OPTIONS request is executed but not the POST,...
asked by 20.10.2017 / 23:50