Questions tagged [http-post-vars]

The name/value pairs found in the body of an HTTP POST request.

40 questions
70
votes
13 answers

Why is it that "No HTTP resource was found that matches the request URI" here?

I have code in my controller like so: [Route("api/deliveryitems/InsertIntoPPTData/{stringifiedRecord}")] ...and I'm calling it via Postman like so: …
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
65
votes
4 answers

POST multipart/form-data with Objective-C

So this HTML code submits the data in the correct format for me.
Name:
Email:
Ali Almohsen
  • 1,311
  • 3
  • 13
  • 24
60
votes
2 answers

How to modify a request in Fiddler?

I'm looking for a simple way to intercept a web request and modify the contents of the request (mainly POSTs) using Fiddler. This is to test server-side validation. I have to use Fiddler, however I haven't found a good simple way to do so. There…
Justin
  • 2,559
  • 3
  • 27
  • 33
39
votes
3 answers

How can I pass parameters from the command line to $_POST in a PHP script?

I know this could sound a little weird, but I need to pass some parameters to the $_POST array. Similar to the way Apache does it, or any other web server. Unfortunately I couldn't find libapache2-mod-php5 anywhere for my Ubuntu installation.
hades
  • 1,077
  • 3
  • 11
  • 19
5
votes
3 answers

PHP HTTP_POST_VARS problem

To start: I am a C++ developer who is roped into making a PHP script (for paypal IPN). I have been incredibly frustrated witht he lack of good working samples from paypal and elsewhere. The latest problem is that I seem to not get any of the…
Tim
  • 20,184
  • 24
  • 117
  • 214
4
votes
1 answer

Handling Serialization Exceptions in ServiceStack

I am using ServiceStack to create a service which accepts request from and HTML form (POSTed). One of the DTO properties is an Enum, and when the input doesn't match the Enum members, I get the following exception: Error occured while Processing…
dawebber
  • 3,503
  • 1
  • 16
  • 16
4
votes
1 answer

Get POST Data from HttpExchange

This seems like such a common use case that there ought to be a simple solution, yet everywhere I look is filled with extremely bloated examples. Let's say I have a form that looks like:
AaronF
  • 2,841
  • 3
  • 22
  • 32
3
votes
4 answers

Post method not working in PHP

I've tried some other posts, but never made it. My php form inside html file is : VAR:
I'm receiving the variable in test.php as…
Ninja Boy
  • 1,112
  • 3
  • 14
  • 28
3
votes
1 answer

Sending HTTP command in browser works, not when sent with httppost

When in my browser I send the following string to a control unit I have http://192.168.0.215/i_activate/aterm?40~00 and a relay is activated. I have tried many variations of the following: HttpClient httpclient = new DefaultHttpClient(); HttpPost…
Terry
  • 31
  • 2
3
votes
1 answer

How can i append a $_POST variable to a $_SESSION array each time the form is sent?

For about 2 hours i'm struggling with this problem. I want to insert my $_POST variables in a $_SESSION array,and append each new data sent from the form to the session variable. Now,when i define my session variable as a array,do i say like…
Iliescu Alex
  • 83
  • 3
  • 8
2
votes
1 answer

$_GET/$_POST array elements ordinal

I'm wondering if anyone can confirm the index (the ordinal position) of the $_GET/$_POST array elements reflects the original sequence the parameters were sent by the URL. In other words, if we look at the following URL containing the…
Power Engineering
  • 713
  • 14
  • 26
2
votes
2 answers

ASP.NET web-service with multiple parameters HttpPut

I am trying to insert values in my database using HttpPut but I can't get it to work for multiple parameters. // PUT: api/Orders/CustomerID/TableID [HttpPut("{CustomerID,TableID}")] public async Task PutOrder([FromRoute] string…
2
votes
4 answers

keeping radio button value after post

HI i'm using a php page and i need to keep the value of and check box and radio button (checked or not checked) after post page. how could i make it? thanks
user1400
  • 1,411
  • 4
  • 26
  • 36
2
votes
1 answer

How to validate the ajax post request is coming from

I am developing an web application in MVC4. I my application all the function is did by the ajax post call. I do not even post single form(Even not have the form tag also) all the things are did by the ajax call. but I am scared for the miss use of…
Rhushikesh
  • 3,630
  • 8
  • 45
  • 82
2
votes
1 answer

Laravel - Request::server('HTTP_HOST') returns 'localhost' from within a helper class

I want to get the current domain, using Request::server('HTTP_HOST') - however when I call this from within a helper class it comes back as 'localhost' which is not what I want. From a controller it works as expected. Is there a way to access this…
Adamski
  • 3,585
  • 5
  • 42
  • 78
1
2 3