Questions tagged as 'post'

2
answers

AJAX javascript, PHP post does not work [closed]

Hello, I have a javaScript code to send data using AJAX to a PHP page, my problem is that the POST is going empty for the page I am calling. This only happens when I call the JavaScript (AJAX) function that does the request, when I call the PHP...
asked by 15.04.2017 / 15:57
1
answer

Receiving JSON with PHP via $ http.post ()

I want to read a JSON in PHP received from a function $http.post() of AngularJS, I already tried to use json_decode() and set the header (both PHP and Angular) but it did not work. PHP claims to be an undefined index, I tried to u...
asked by 25.05.2014 / 04:20
1
answer

How to manipulate and submit data through GET and POST? [closed]

I have a web application and need to access an external url that has login and password. Subsequently I must fill out a form, submit the data and receive the return on my application! Is it possible to use HTTP web requests from C # (GET, POS...
asked by 04.10.2018 / 14:54
3
answers

Send a string name via post using javascript

Good night, I'm trying to send only the name to the server, but every time I pass the string it arrives at the server as "name:", here is the way I'm trying: <!DOCTYPE html> <html> <head> <script> var bt...
asked by 14.08.2018 / 03:19
1
answer

Servlet is responding but ajax does not reflect response

Good morning, I have a simple form in which I submit via ajax, so my servlet takes that result and gives an answer, from the answer, the ajax will do something. I can see the response in the browser, but I do not get the result in ajax. J...
asked by 17.01.2018 / 13:11
2
answers

Call php function through a form

Good afternoon, I am trying to create a page on my website is wordpress in which the user chooses a file and this file updates a table in the database. I got code below, but when I click load data, nothing happens. The function is not being c...
asked by 07.12.2017 / 16:44
1
answer

Error requesting via POST

I am sending information to a page on my server via GET through my application, until it is working normally. However, now I need to send an image in base64 format, I believe that sending via POST works fine, but when I try...
asked by 26.11.2017 / 13:32
1
answer

Send POST file with php using the file_get_contents function

Is there a way to send a file via file_get_contents without manually manipulating the request header?     
asked by 01.06.2017 / 00:52
1
answer

List posts by category

I have several posts and some of them have a category called "Highlight" and the others are uncategorized, what I need to do is list all these posts, the first ones always need to be the "Highlight" category regardless of when were posted. Th...
asked by 13.07.2017 / 18:50
1
answer

Php - Get variable by _GET or _POST? How to make name appear instead of cpf

Well, I'm doing a project where the student enters by cpf and by date of birth. However, in the user <div=class"user"> div in home.php (where the salutation and username must be) appears cpf instead of the name. What method do I u...
asked by 15.05.2017 / 05:00