post

IHttpHandler to post to a form

Is it possible to post to a form from pure code behind in ASP.NET? Basically I need to simulate a Response.Redirect() but do so with a POST instead of a GET and also set a couple Request parameters. This would all be happening in the ProcessRequest method on a HTTP handler. Notes: I realize that Response.Redirect really just throws the ...

How to use the POST command to send a file ?

I would like to send a file using the POST command available on almost all linuxes which include Perl. I'm wondering how.. i would like to do something like : linux:currentdir/$ POST http://www.example.com/upload.php > myFileToUpload I guess i had probably to encode the file, i'm right, it's in base64 ? Isn't it ? I also read in th...

ColdFusion CFHTTP Post is doing a second GET request right after

I am using ColdFusion 8. I'm doing a CFHTTP Post to a remote server. The remote site has looked at their logs and they say my code is doing the POST, and then immediately doing a 2nd GET request. Here is my code (the URL has been changed): <cfhttp url="https://www.theurlofthesite.com" method="POST" port="443" resolveurl="yes" redirec...

ColdFusion CFHTTP Post to remote form does not return the results page, it just returns the input form

I am using ColdFusion 8. I am trying to use CFHTTP Post to submit the form at this page without a user having to enter the number and click Submit. https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES I've done with before with other forms, it's usually not a problem. Here's my code: <cfhttp url="https://teste...

Uploading files through a HTTP POST in C++

I'm trying to send a file and other POST variables to a PHP script on my server. There are no good resources on Google and the code samples I've found don't work. Preferably without using cURL. ...

Should my framework allow access to $_GET and $_POST at the same time?

Hi, I know you can use both $_GET and $_POST at the same time, but is this a required "feature"? I am writing a framework, where you can access input through: $value = $this->input->get('name',''); $value = $this->input->post('name',''); $value = $this->input->cookies('name',''); I'm just thinking here, is there a need for having GET...

Multiple objects in a Rails form

I want to edit multiple items of my model photo in one form. I am unsure of how to correctly present and POST this with a form, as well as how to gather the items in the update action in the controller. This is what I want: <form> <input name="photos[1][title]" value="Photo with id 1" /> <input name="photos[2][title]" value="Photo with...

static stylesheets gets reloaded with each post request

Every time there is a post from page the entire bunch of css gets reloaded. Is it possible to tell them not to come in again and again. There is a series of GET that get fired. Can we optimize in some way or is it normal behavior? The environment is google apps in python. ...

Python QuickBase API Help

Hey, I'm having some trouble using the QuickBase API from Python. From the QuickBase guide, there are two methods of hitting the API: POST and GET. I can handle the GET calls, but some API methods require XML to be sent over POST. The link to the documentation is here: http://member.developer.intuit.com/MyIDN/technical_resources/quic...

How to post a file via HTTP post in vb.net

Hi all! Having a problem with sending a file via HTTP post in vb.net. I am trying to mimic the following HTML so the vb.net does the same thing. <form enctype="multipart/form-data" method="post" action="/cgi-bin/upload.cgi"> File to Upload: <input type="file" name="filename"/> <input type="submit" value="Upload" name="Submit"/> </form...

POST variable problem.

I'm having a really strange problem with this code I'm working on at the moment. It's a map editor for a game that sends the variables for each tile to another PHP file to update the mySQL database. So far the map editor code displays the map and loads everything fine. The map update (mupdate) PHP file correctly updates the database, if...

How to receive post data(XML) in .NET like java servlet doPost

I want to receive the HTTP POST data(XML), the XML data post by other webServer(Tomcat, shttpd). On Java I can use servlet doPost receive post data, I'm a newbie on C#, I don't know how to write it on c#. ...

form post to mod_rewrite url

I am trying to submit a form to the url "localhost/login". Inside my login directory I have an index.php file with the code I am using to debug that the post is working: <?php echo $_POST['username']; ?> I have a .htaccess file inside my login directory: RewriteEngine on RewriteRule ^. index.php [L] The problem is, when I post to l...

How does a HTML form identify itself in POST header?

The php page is called page.php; this pages has 2 submit forms on it: form1 and form2. When one of the form's submit button is pressed what in the HTML header with identify which form was submitted? ...

ASP.NET MVC: Upload XML string from browser memory with progressbar

Hello! I have a variable in javascript containing a string of XML data that I want to upload to a server running ASP.NET MVC. It works just fine using jQuery.post method. My problem is that the data weights about 5 megabytes so this process could be rather long depending on the bandwidth available between the client and the server. As...

WordPress displays private posts to logged-in users -- how to turn this functionality off?

On a new WordPress 2.8 installation, I have some posts assigned to category Foo that were previously public but have since been made private. When I am logged into WordPress (as the admin) and happen to also be browsing the Foo category page in a different tab in the same browser, I can see the private posts on the category page, with t...

Posting xml from classic asp to asp.net

I apologize if this has been asked before. I searched and didn't find anything that matched my situation. Also bear in mind I am fairly new to asp/asp.net development. My current project is a relatively simple e-commerce site. The customer will connect to the site, select products, input shipping and billing information, payment info...

Using JQuery to do a GET request with POST variables

I want to call a url from an onclick event and pass it POST variables. I do not want to do this via hidden inputs and a form submit. Of course I want to do this using jquery. The url will have to be loaded into a popup window. The question, since I am a jquery newbie, is how? ...

how to get a the value of an http post as a whole? parsing restful post

Is it my ideea or in rest-web services a post comes "with no name", so say something... I mean, is the post the whole body, minus headers??? so, how can I parse such a post message with java? do I have to use HttpServletRequest.getInputStream? http://www.softlab.ntua.gr/facilities/documentation/unix/java/servlet2.2/javax/servlet/htt...

PHP post textfield and request data - (I believe this might be simple too)

I don't know where to begin.. I have 2 pages. The first page is a form that has 4 textfields that pass to the second page and separate each with an comma (only if they filled something into a field - so if they only filled one field in, it would not have any commas) and ending with a period. How do I do this in PHP? ...