Questions tagged as 'post'

2
answers

address via get

My query is the following, I need to address to the same page that is created in php with html code, and within it I have a validation form via post, when I send the post to the same page that is index, valid those fields with php, then if there...
asked by 16.09.2017 / 22:49
1
answer

PHP foreach put together a table

I have a page where I receive arrays by the _POST method from a form and I need to create a row with each group of data: $idfila = $_POST['idfila']; $destino = $_POST['destino']; $pedidohs = $_POST['pedidohs']; $pedido_desarrollo = $_POST['ped...
asked by 11.09.2017 / 14:46
2
answers

How to pass parameters in headers - Headers Angular 4?

Angular 4 Greetings community, I'm trying to pass some parameters by the headers in a post request but it generates an error, it tells me that it is not sending the parameters in the headers, does anyone know what I'm doing wrong? registerH...
asked by 03.08.2017 / 13:37
1
answer

Encode base64 Java image

I'm trying to convert an image to a String base64 (I need to send it via POST ) and I can not get it. I use the following instruction: String imgDS = DatatypeConverter.printBase64Binary(Files.readAllBytes(Paths.get(".\imagen.png")));...
asked by 20.04.2017 / 16:18
1
answer

Send by POST

Good morning, I have a problem, because I was using a website sending the data by GET and of course now I am aware of this and I want to modify it to POST so that the data is not displayed. The GET data sent them via URL as follows: <td>...
asked by 28.04.2017 / 06:44
1
answer

Error method post Requests in python

I'm doing a script that makes me a POST method. I follow the library documentation requests . I have to make a login; when I use the method GET no error arises. It consists of several tags with enable ( value=1 ) and...
asked by 05.10.2016 / 13:58
0
answers

Error consuming web service POST urlencoded with Android Studio retrofit2

I'm just trying to consume services with Android Studio and GET services have worked well, but with POST services it does not work for me. I have tried several ways that I have found out there and the answer always goes by the onFailure side....
asked by 17.12.2018 / 22:26
2
answers

Get file sent by POST

How do I get the file that is received here: [HttpPost] public async Task<IHttpActionResult> Post(HttpRequestMessage request) I am attaching the file like this, but it is sent without extension and with a name I do not want...
asked by 16.05.2018 / 01:07
1
answer

Get select value and use it in the same php file

Hello good morning I have this code is to fill a select with php and mysql but with the value obtained I must make another query to fill the other select depending on the selection of the first, I need to do it in the same file to fill other inp...
asked by 24.04.2018 / 15:33
1
answer

multiple post angular parameters 2/4/5

I am working with angular 5 and httpClient, and I have to send 2 objects per post parameter but I do not know how to send them or how to receive them the objects are user1 who has 3 fields user2 who has 3 fields this is the code in my web api...
asked by 28.03.2018 / 19:01