Questions tagged as 'post'

2
answers

Laravel 5.3 with Ajax

I would appreciate your help in solving an Ajax problem with Laravel 5.3 I'm experiencing problems with Internal Server Error 500, and looking for information about it may be routing problem or csrf_token (), but I've already made the changes...
asked by 10.02.2017 / 02:02
2
answers

sql command does not run via php

I'm having a problem with my bd query. I want to make a login page with the following form: <form method="post" action="Login.php"> Email:<br> <input class="form-control" placeholder="Seu email" type="text" name="em...
asked by 10.01.2017 / 20:07
1
answer

JavaScript Request POST

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery.post demo</title> <script src="https://code.jquery.com/jquery-1.10.2.js"></script></head><body><form...
asked by 15.12.2016 / 18:06
1
answer

Angular $ http.post

I'm developing an application with angularJS and nodeJS, where I have to send (POST) the data of a user that is registering. My file node server.js is as follows: var express = require('express'); var mongoose = require('mongoose'); var bodyPa...
asked by 21.12.2016 / 06:01
1
answer

How to open file with window.open in a post?

My controller returns two file types: pdf and excel. return File(stream, "application/pdf"); return File(new MemoryStream(ep.GetAsByteArray()), "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $"Relatorio.xlsx"); When t...
asked by 02.02.2017 / 17:04
1
answer

Sending parameters by android url

I have an android application running and I need to send a few URL races quickly and easily. I use this code to execute this function, but it is already obsolete and sometimes it does not work as it should! Thanks in advance for your help....
asked by 31.12.2016 / 02:30
1
answer

POST is not receiving JSON

I need some help with running a POST. Well, when I try to call my API ( link ) to execute a Post, I can not pass the JSON for her. The following is the API used: // POST: api/Teste public void Post([FromBody]string json) { ClassRetorn...
asked by 11.10.2016 / 04:51
1
answer

How important is super global filtering?

I wanted to know more details of what could happen when I stop super-global filtering, especially for data insertion. What loopholes could be opened? I started with php a short time ago and was doing a little system just to learn and I showed th...
asked by 23.11.2016 / 14:23
1
answer

Send ajax requests using POST method with pure javascript

I'm trying to submit a form using AJAX through the POST method but I'm not succeeding. Can anyone help me? function gooSubmit(url,id){ //declaração das variáveis var sd = document.getElementById(id); var req = rq(); //exibi a...
asked by 27.07.2016 / 19:44
2
answers

Call form send by function

I'm trying to send a form through a function. Follow the structure. form with id: last name input with id: nickname event keyup no input. onkeyup="$(this).check()" Javascript (function($) { $.fn.check = function() {...
asked by 24.06.2016 / 01:25