Questions tagged as 'post'

2
answers

How to use "ajax" with the "scaffold" of Ruby on Rails

Hi, I'm using (REACT and Ruby on Rails) together and ajax and scaffold together to make a POST , PUT , DESTROY , GET but at the time of doing the POST simply does not do anything, this is my code:...
asked by 14.05.2017 / 22:24
1
answer

Problem with POST form in html5 and jsp

At the time of declaring a form html in a jsp. the program runs but the class says "Element 'UserHandler' not found", because I get this error? these are my files user.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-...
asked by 23.06.2017 / 07:50
2
answers

Problems taking the variables with REQUEST AND POST

I am trying to use a variable that I have brought with $_REQUEST[] and then in a condition where I say that if the method was POST, I execute a query in which I use that variable but it does not take it correctly. This is the code, the...
asked by 19.05.2016 / 16:55
2
answers

Log in and send data with GAS

I am working with a code that should validate a user and open a form with filtered data for that user. To open the form after validating, use a dynamic method that was published here and works well for me: var rutaWeb = ScriptApp.getService()....
asked by 15.03.2018 / 06:05
3
answers

$ http.post Angular POST

Trying to connect to an API from angular and I get the following error: XMLHttpRequest cannot load https://web/api/beta/ruc. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is the...
asked by 25.06.2016 / 23:27
1
answer

How do I pass an image from my view to a controller? MVC

Hi, I have the following problem, I need to get an image of an input and pass it to the controller; The code I use is the following: HTML: <div class="row"> <div class="col-xs-12 col-sm-10 offset-sm-1"> <input name="...
asked by 19.04.2018 / 05:34
3
answers

What is the difference between HttpPost and HttpGet in MVC 5?

What is the difference between using [HttpGet] and [HttPost] , when should one be used and when the other?     
asked by 05.04.2017 / 04:27
2
answers

send a JSON via POST with JavaScript

Let's see ... according to the comments I would have to edit the thread, but no matter how much I do it ... I have to send a json per post, and when sending it I would have to receive one in which I would say if the login is correct or incorr...
asked by 04.11.2016 / 12:50
2
answers

how to parse angularjs data

It turns out that I make this request in the controllers to my php: $http({ method: 'POST', url: 'http://localhost/nPanelarencion/app/php/consulta.php', headers: { 'Content-Type': 'application/json', 'Accept': 'application...
asked by 20.10.2016 / 21:32
3
answers

Receive variables post and write them in Html

I am receiving data by post from an android system, when responding with echo , this data reaches android. Now I want to use this data to use it in an html page, how can I do it? By the way, I use the Slim framework. <?php req...
asked by 11.03.2016 / 19:38