Questions tagged as 'post'

1
answer

How to empty the values of the attributes of an object in VUEJS2?

In vuejs2 I have a variable datos which is an object that already has some properties set and that are initially empty. I'm doing a series of validations that are very repetitive, an example of this is to send a request, if it br...
asked by 12.12.2018 / 19:09
1
answer

Send parameters from the view to the controller in C #

At the moment of receiving the parameters in the Controller from the View, the same arrive null, in the View I have the following code: @model Syc.Visitantes.Dominio.Entidades.Usuario @{ ViewBag.Title = "Crear Usuario"; } <h2>Crea...
asked by 23.04.2018 / 15:11
1
answer

Error consuming webservice

I have a webservice rest, now in c # I have a function that receives a json in string format and I send it to the webservice, but the webservice tells me that the json is wrong. Can you tell me if it's wrong? ///xs var exPrecioStock...
asked by 09.05.2017 / 21:44
1
answer

Pass value in PHP

I have this html which collects data from a post that is done in a .php before <input type="text" class="form-control" name="div" value="<?php $division = $_POST["createDiv"]; echo $division;?>" placeholder="" disabled> In...
asked by 20.09.2018 / 10:14
2
answers

Send data by POST from php using cURL?

I'm trying to send data to an external API, the problem is that when I open the console in chrome or inspect any element, the values hidden of the form that are the API keys are shown, so try this with Curl : <?php $ch = curl_i...
asked by 14.07.2018 / 14:52
2
answers

Is it possible to prohibit access to PHP documents from URLS?

I have .php files that make includes of other files, and AJAX scripts that need to make requests to other .php documents. For example, Document X.php has an AJAX script that sends a request to a B.php document and brings some information. Obv...
asked by 12.05.2018 / 06:06
2
answers

convert $ .getJSON script to $ .post

I have a problem I am trying to pass a series of $ .getJSON script to $ .post: $(document).ready(function(){ //getdeails será nuestra función para enviar la solicitud ajax var getdetails = function(id){ return $.getJSON( "index...
asked by 30.10.2017 / 18:36
3
answers

Custom Post Type with assigned Post

I need to have in the administration an option called "Educational Institutions" and that's why I created a CPT called "ie" but it should not be with URL, that is, it should always be wwww.misitio.com/institucion-educativa-wordpress and no wwww....
asked by 28.05.2016 / 06:26
1
answer

Return result to an input value in action to another php file

I am looking for that when processing in response.php it returns the value to the previous page to locate it in the input. I think this could solve it using $ global but I do not understand its operation much and I already read that it is not ad...
asked by 01.12.2018 / 19:29
1
answer

Send post to PHP file outside public folder

I am having a problem, I would like to send a POST to a PHP file that is outside the public folder, but I can not point to that file. I hope you can help me. Thank you very much. My index.php <!DOCTYPE html> <html lang="es"> <...
asked by 11.11.2018 / 20:12