Hi
Do I need to encode strings (eg URL) I pass as a POST form parameter?
Ie I want to pass a URL I have to my web application (ruby on rails) as one of the form parameters. So are there any potential characters in a URL/URI that would need to be encoded? Or perhaps rails would handle this anyway?
...
Hello
I'm using WinHTTP IWinHttpRequest object. I do POST to a https domain specyfying a request body with credentials. The site is expected to return cookies in HTTP response. The code works in Wininet - but I don't know how in WinHTTP to get cookies from the HTTP response?
Can anybody help?
Dominik
...
I remember that there is a folder in the c:\Windows\system32 where all the HTTP POST and GET request are logged. I cannot find the folder in the net. Does anybody know where that folder is?
...
I am using errordocument in .htaccess to redirect a certain not found case to my processing script. This particular not found contains post data, but I cannot access it in my processing script. The content-length header is set, but the data is not available in $_POST or in php://input.
Using liveheaders, I can see that there are only tw...
I am try to have a forum submits more then once when a user clicks the submit button. Why? I am try to add more then one idem to a shopping cart, The shopping cart software I am using doesn't support adding more then one product at a time and I don't want to edit there core code. The hidden forum would have the product ids like '1,2,3' I...
Hello,
I am trying to write a script that does a zip code look up at the USPS.
URL="http://zip4.usps.com/zip4/citytown_zip.jsp". The data gets submitted by POST is:
zip5=YOURZIPCODE&submit.x=3&submit.y=22&submit=Find+ZIP+Code
The part I am having a hard time finding is how these numbers get generated:
submit.x=3
submit.y=22
The above...
echo '<request><item attribute="foo">bar</item></request>' | curl -X POST -H 'Content-type: application/xml' -d @- http://10.0.1.51:3000/baz/evaluate
My Rails application forgets all about the attribute when it receives the posted XML.
Processing BazController#evaluate (for 10.0.1.3 at 2009-10-03 18:29:32) [POST]
Parameters: {"reque...
I am having difficulties figuring this out. I can see i am posting XML and i see the length of it but i cannot figure out how to display or access the POST DATA
CONTENT-TYPE: text/xml<br />
CONTENT-LENGTH: 640<br />
separately i have
curl -k -H 'content-type: text/xml' -d 'XML_DATA_HERE' https://ip/page.php
...
Hello,
Short version:
how can we send post data while redirecting to an "external" website? I'm using asp.net MVC and I want to redirect the user to oldwebsite.com/oldlogin.asp when a username is not found, to try to log in the old system.
Long version:
Scenario:
We have a site oldwebsite.com with a login form on the index.html.
Th...
I have a spooling app that sits between a Ruby on Rails app, and a few Pandastream instances. Prior to the creation of the spooling application, the Rails app posted it's file data straight to Panda without issue.
I've got the spooler receiving the file information and connection to the appropriate instance to pass the file data on, bu...
Hello Experts!
I am trying to do a POST towards a site which utilizes secure session with cookies.
Ofcourse this won't work with the code I have posted below. It keeps responding with a non-authorized message.
Is there any way I can use cookies in my code or at least simulate cookie usage?
NSURL *url = [[NSURL alloc] initWithStri...
is there any limit to send data from j2me device to server. I coded a application to send big data to server from j2me client. it works fine in wtk and sonyericsson emulator. but when i tried same code in real device, I can send only 6K data. then, app throws IOException. every 2K, I run flush function of outputstream to seperate data to...
I'm developing a website and in my attempt to make friendly URLs without recurring to mod_rewrite (because chances are my client's server doesent allow it), I came up with this system:
index.php expects a variable called $seccion, which should contain a relative path to a second file with a particular section. That way I keep the static...
I have been writing an HTTP server in C#, and I've gotten to the point where I want to implement PHP. However, I cannot seem to find a way to pass POST variables to the PHP-CGI executable. I know that I am supposed to use environment variables to communicate with the executable, and most importantly the QUERY_STRING variable. This one ju...
I am returning a big Json object [ 5000 records and 10 elements per record]
from the controller [asp.net mvc] using Jquery and Ajaxpost. till now I was dealing with just 20 records [testing] and it is working fine. But in production there are 5000 records so i am wondering if browser can handle huge amount of data. Especially IE6. ...
I need to post raw xml to a site and read the response. With the following code I keep getting an "Unknown File Format" error and I'm not sure why.
XmlDocument sampleRequest = new XmlDocument();
sampleRequest.Load(@"C:\SampleRequest.xml");
byte[] bytes = Encoding.UTF8.GetBytes(sampleRequest.ToString(...
i. I am using visual studio 8 using vb.net. I am trying to make a post request that complies with the following schema, but am failing miserably.
<?xml version="1.0" encoding="UTF-8"?>
<postBetOrder xmlns="urn:betfair:games:api:v1"
marketId="2568540" round="1" currency="GBP">
<betPlace>
<bidType>BACK</bidType>
<price>2.5</price>
<size>...
Hi I have a php srcript that receives GET data and I want to redirect the data from GET to another page in wordpress using POST. It's that possible, and how?
Thank's for the help.
...
I have a script that does a jquery AJAX post and then should redirect to a different page. The problem is that it is sometimes redirecting before the post completes. There seems to be a couple of solutions but I can't get any of them to work. Thanks for your help!
Here is my code:
$.post("cart.php", { 'products[]':postvalues }, function...
I'm sure this is simple, but I'm a noob, so I'm not sure how to achieve this... Basically, I have 3 separate divs with 3 separate WP loops. I want to create a script to assign certain the "next post" & "previous post" links to refresh within the div, while the other links would behave normally. This would be easier with a normal site, bu...