post

Submitting forms in background

I want a user to submit multiple form at once by submitting a "master" form. I got it working by using mootools' "send" function, but we switched to prototype and I can't get the same result. using "submit" just "clicks" all forms. basicly what I need: A function to submit all form by just using an Ajax POST call. Strangely all ajax fu...

Browser Based Uploads to Amazon S3 ?

Amazon has instructions on how to write a form that posts directly to Amazon's S3 service via HTML POST. However, they are not very clear on how to create a simple form to upload directly to an S3 bucket, and never give an actual example html file... Is there a good example available where I can view the sample code? ...

wget for Windows - using --post-data with quotes

Hi I'm using wget for Windows and I want to specify a --post-data filter (and avoid using a --post-file filter) but I'm struggling to get it to work. It might be because there are strings within double quote marks like this : wget "http://www.somesite.com/wfs" --header="Content-Type: text/xml; charset=UTF-8" --user=username --passwor...

Posting parameters to a url using the POST method without using a form

I want to post parameters to a URL using the POST method but I cannot use a form. Even if I do use a form, it would have to be auto-posted with out user interaction. Is this possible? How can I do this? ...

Post Method Not giving Alerts like planned?

<form action="" method="post"> <div align="center"><legend>Add a Code</legend> <label for="code"></label> <input type="text" name="code" id="code" maxlength="10" /> <input type='button' onclick= "isAlphanumeric(document.getElementById('code'),'Your Submission Contained Invalid Characters'); isBadPhrase(docum...

To know the time POST data is stored in one session

How long is the POST data from forms stored in a session such that you can access it by the following command in PHP? $_POST['email'] I have 777 forms and each give me data in the POST -form. Each name of the input is unique. I would like to know where is limit about the POST -data. ...

To make a login cookie by POST data by PHP

How can you make a login cookie of the POST -data by PHP? My code registration.php global $login_cookie = $_POST['email'] . ',' . md5($_POST['password']); // this does not work: Parse error: syntax error, unexpected '=', expecting ',' or ';' setcookie("login_cookie", $login_cookie); // this is empty because of ...

C# ASP.NET MVC: Easy way/sample to re-POST a form collection?

Hello, I wondered if there is an easy way (sample?) to re-POST an incoming form collection to a different server. The reason: I have server 1 which has a form with a bunch of fields, but they actually need to be stored on server 2. I can't allow people access to server 2 though, so I need to ask for the input on server 1. I'd still like...

So why should we use POST instead of GET for posting data?

Possible Duplicates: How should I choose between GET and POST methods in HTML forms? When do you use POST and when do you use GET? Obviously, you should. But apart from doing so to fulfil the HTTP protocol, are there any reasons to do so? Less overhead? Some kind of security thing? ...

POST data in JSON format with JAVASCRIPT

Hello, I have some data that I need converted to JSON format and then POSTed with a Javascript function. <body onload="javascript:document.myform.submit()"> <form action="https://www.test.net/Services/RegistrationService.svc/InviteNewContact" method="post" name="myform"> <input name="firstName" value="harry" /> <input name="lastName" va...

HTTP POST binary files using Python: concise non-pycurl examples?

Hi, I'm interested in writing a short python script which uploads a short binary file (.wav/.raw audio) via a POST request to a remote server. I've done this with pycurl, which makes it very simple and results in a concise script; unfortunately it also requires that the end user have pycurl installed, which I can't rely on. I've al...

HTTPS POST request using VBA for Excel

I use "WinHttp.WinHttpRequest.5.1" to send HTTP POST requests from VBA in Excel. But I could not manage to do it for HTTPS, as I received an SSL certificate error. What VBA code would you use to negotiate an SSL connection to a website from VBA in Excel ? ...

Python standard library to POST multipart/form-data encoded data

hello, I would like to POST multipart/form-data encoded data. I have found an external module that does it: http://atlee.ca/software/poster/index.html however I would rather avoid this dependency. Is there a way to do this using the standard libraries? thanks ...

receive Multiple values with MVC action method from Multi Select listbox

Hello, I am rather new to MVC. I am trying to post data (An array of type "SurveyAnswer") to a MVC action method from an HTML form. Everything works fine with I pass back data from a html input that has a single value, such as a Html.TextBox(), but when the html input has multiple values such as Html.ListBox(), the action method in my ...

using JSON-Framework to prepare a json object to post via HTTP Request Objective-C

I am successfully using the json-framework to do GET HttpRequests. Does anyone have code to prepare a json object and do a POST HTTP Request? If so, can you please share some sample objective-c code. Thanks ...

What URL is the XtraUpload script posting to?

I am using the XtraUpload script from http://xtrafile.com. Their forum support is very poor, and I need to write a PHP function to post to remotely post to my XtraUpload website at http://uber-upload.com. So, I ask, ok, I beg for help. Can someone please tell me what the post URL is, and what variables are being sent (i need exact nam...

php $_POST array empty upon form submission...

Hi folks, I'm baffled on this after much googling. This issue is simple, I have a custom CMS i've built that works perfectly on my dev box (Ubuntu/PHP5+/MySQL5+). I just moved it up to the production box for my client and now all form submissions are showing up as empty $_POST arrays. I found a trick to verify the data is actually being...

Page change notification via RSS for a POST page

Are there any web services that can return an RSS feed for a page that must be requested with a POST? Page2RSS.com or something like it generally works very well for this but they only work with GET requests. The website I am trying to turn into an RSS feed really should probably use GET instead of POST in the first place. Alternatively ...

How to I post a value through the XMLHTTPRequest Object?

I have a set of links dynamically generated in a table. Each of the rows has a unique "id" property on it's tag. The goal is to get XMLHTTPRequest to tell the page 'deletepost.php' which record to remove from an outside database. It changes a hidden input value to the value of the row (a number), and then submits that form <script...

How can I see what information my (c# implemented) POST is sending?

This is the code I'm using, (taken largely from another online source, btw): string uri = "http://www.blah.com"; // Create my request HttpWebRequest hwrOrdersIDCallback = (HttpWebRequest)WebRequest.Create(uri); hwrOrdersIDCallback.KeepAlive = false; hwrOrdersIDCallback.Protocol...