Questions tagged as 'post'

1
answer

Make PHP show the files in the folder

Well, I'm working on my project. A read app. But I want to do something to help with it, I have over 12,000 pdf's to put in the application. I wanted to put the pdf in the folder it appeared the way it is shown in the picture below Or i...
asked by 17.06.2017 / 22:23
2
answers

Pass input values to PHP

I have two inputs, one automatically populated by a PHP script, the other the user enters the value, and a third input to do the subtraction calculation or addition of the first two inputs. I created the following topics: Adding values fr...
asked by 13.06.2017 / 17:41
1
answer

Personalized WebApi Response

Hello, I have a WebApi service and would like to get an answer specifically with a Date, but by the time I call that service and I get the return from my PostAsync what I see is just an httpResult saying that was OK. call to WebApi var result...
asked by 01.06.2017 / 00:47
1
answer

Error making a post in the API with javascript

I'm trying to make a post in the API, using JSON, but it always returns page error not found. But I'm sure the URL is correct, because when I use "POSTMAN" it works perfectly. Follow the javascript code. var btncadastro = document.querySele...
asked by 29.05.2017 / 04:06
1
answer

Split array according to payment types

index.php code <form action="add-to-cart2.php" method="post"> <label for="">Name</label> <input type="text" name="nome"> <br> <br> <label for="">Dinheiro</label> <input typ...
asked by 20.05.2017 / 20:44
0
answers

Error: HTTP Status 500 - org.json.JSONObject can not be cast to jdk.nashorn.api.scripting.JSObject

In my java system this error appeared: I'msweatingthePOSTMANtooltostudythecase.  HTTPStatus500-org.json.JSONObjectcannotbecastto  jdk.nashorn.api.scripting.JSObjectCode:importjava.io.BufferedReader;importjava.io.IOException;importjava.io.Pri...
asked by 25.03.2017 / 00:50
1
answer

Bring data like facebook's wall

I'm implementing a functionality to bring data like the post's mural of facebook, apparently it's not very difficult, however, I have a question and would like to know if anyone has a solution or suggestion for this problem of mine. The code...
asked by 13.03.2017 / 21:09
1
answer

POST method not working on the same page

When trying to upload a file from the error <form method="POST"> <input type="file" name="inputfileSendTorrent"> <input type="submit" name="submitSendTorrent"> </form> <?php if(isset($_POST['submitSendTorrent'])) {...
asked by 13.02.2017 / 23:29
1
answer

Pass parameters from the Web Service header?

I'm trying to make a web service call on AngularJS, however I'm getting the following error message in the browser console (I tested it in chrome and Firefox):    XMLHttpRequest can not load       No Access-Control-Allow-Origin header is pre...
asked by 06.02.2017 / 19:40
0
answers

$ .post () - Doubt

I have a problem: I have already been able to read and follow the documentation of facebook, use its methods and get some infos that they make available. Now that I've got this, I need to send $ .post () one of these infos (userID). I can...
asked by 09.02.2017 / 15:00