Questions tagged as 'post'

1
answer

Sending data to an Api

I have two methods of type Post But what I do not know is how to differentiate one method from the other in the Post type request. [HttpPost] public ExpedienteDto Post(ExpedienteDto dto) { return ProcesosService.CrearExpedient...
asked by 25.09.2018 / 16:43
3
answers

Error http 405 on Android

I am doing an Android application and when I make a POST request the error 405 method not allowed appears. How can I fix the problem in order to make the request satisfactory?     
asked by 16.10.2016 / 16:09
1
answer

Validate an empty input when doing a backspace or 'backspace' with VueJS2

In an html I have a v-model='code' with an attribute v-on:change='consultar()' which at the time of typing the code and tabular (for example, (is one of many ways to make the change)), he goes to that method and I list the data in...
asked by 04.12.2018 / 15:50
1
answer

php decode json received via _POST

I have the following case: I receive a variable _POST that brings two data in JSON format and I need only take one of those data. I try this, but the result is NULL. Any suggestions? Thank you very much <?php $CuentasBancariasSel...
asked by 20.11.2018 / 03:09
1
answer

How to receive a POST request

I am connecting to an api which asks me as a final step to receive status notification through a POST, that is, the api sends me a request in POST type. I have developed a web servise in .asmx type [WebService(Namespace = " http://tempuri.org/...
asked by 29.09.2018 / 02:16
3
answers

upload an image in html and javascript

I am sending an image to my web server that I select from my HTML in the following way: <form method="POST" action="http://'+ip+'/HelloSpringMVC/uploadFile" action="subirFoto();" enctype="multipart/form-data"> File to upload: <inpu...
asked by 14.05.2018 / 20:46
2
answers

ajax request sends POST data but is not received

I have this code that sends data from a form to an script external $(document).on("submit","#previewOc", function(e) { e.preventDefault(); $.ajax({ url: "assets/contentHtml/ocs/preview.php"...
asked by 18.04.2018 / 17:29
1
answer

Java: Use GET and POST in the same Form

What I want to do is send the parameters from Form to POST and then through the method GET consult the BBDD for room availability and send that result through Ajax (Vanilla Javascript) to HTML But from...
asked by 13.03.2018 / 20:37
1
answer

AJAX execution

Gentlemen, I am in a question. I'm working with ASP.NET MVC and I'm running Ajax via post . The requirement is to load two grids with a Ajax for each grid. Strictly speaking, it would be something like that, Example...
asked by 13.11.2017 / 16:23
2
answers

Validation of the Curp in sat

Does anyone know of a webservice or how to post to validate if curp is correct? or failing to obtain all the information of the curp ? Searching the internet I found this http://consultas.curp.gob.mx/CurpSP/curp1.do?strCurp=' . $curp . '...
asked by 18.10.2017 / 20:24