Hi,
I have a tableview with data, that i post to the app engine database.
Whenever i delete an entry in the table, i want to delelte the item in the app engine database as well. How do i know which entry to delete?
I was thinking of this:
for every item i save in the GAE store, i make a reference to a model with the iphone unique devi...
I am using ExtJS to send an Ajax request to a PHP page on a server, wanting to send the parameters as POST variables rather than in the querystring.
I have included a random token in the querystring since we were having caching issues on one of our proxy servers.
Ext.Ajax.request({
url: 'ajax.php?action=test&randToken=' + generateRando...
Hi,
For a customer, I need to write a Servlet which can print values in a form post. The form is hosted on another server and looks somewhat like this:
<form action="http://myserver/myServlet" method="POST">
<input type="text" id="someName" value="someInterestingValue"/>
<input type="submit" value="submit" />
</form>
I have a Tomcat ...
How does one create a POST request using TCPSocket in Ruby? Is there a special format to making a post? I have the following but I get a parse error (it's for a rails server):
require 'socket'
s = TCPSocket.open("localhost", 3000)
s.puts("POST /<controller>/<action> HTTP/1.1")
s.puts("Host: localhost:3000")
s.puts("Content-Type: applic...
I am trying to send the data to server from my Iphone client. It works fine for most values but when itry to send a string like "IPhone+Cocoa" the server shows the string as "IPhone Cocoa". I have tried to google it but without success is there any why of doing it.
Here is my code
-(void)sendRequest:(NSString *)aRequest
{
NSMutableUR...
I've got a load of checkboxes that are by default checked. My users will probably uncheck a few of the checkboxes (if any) and leave the rest of them checked. Is there any way to get the checkboxes that are NOT checked in a form post, rather than the ones that are checked?
...
Hey,
I'm taking a look at how to properly escape data that comes from the outside world before it gets used either for application control, storage, logic.. that kind of thing.
Obviously, with the magic quotes directive being deprecated shortly in php 5.3.0+, and removed in php6, this becomes more pressing, for anyone looking to upgrad...
I am currently using column header's as links that when clicked will sort the results by the column name by adding a get variable to the url. Here is an example:
<a href="
<?php
// Sorts by order id. If already sorted by order id, then it will change the link to sort descending
if(!isset($_GET['sortby']) || $_GET['sortby'] != 'ord...
I use jmeter to record the requests and then perform a performance test.
after i records all the requests with proxy server.
and these requests contain post form.
after that I run the test cases, but I found the post form not work, it can not create a record in website's database automatically.
but before that i used webload, everything ...
when i click on a link, i have a jquery .post call in a javascript function. This calls a controller action which returns a partialresult into a jquery ui dialog.
this process can take a few seconds as the controller calls the model for some calculations, etc . .
anyway, is there anyway to display a "Please wait . ." or animated icon ...
I have access to an API. The API takes an XML post as input and then returns an XML response with the relevant data.
I want to
Send the HTTP Post to the Server (Authentication and Request will be sent together)
Receive the response (One of the options to be returned is CSV or XML)
Insert the data into the appropriate rows and column...
Hello, I am trying to make HTTP Requests from Delphi using the WinInet functions.
So far I have:
function request:string;
var
hNet,hURL,hRequest: HINTERNET;
begin
hNet := InternetOpen(PChar('User Agent'),INTERNET_OPEN_TYPE_PRECONFIG or INTERNET_OPEN_TYPE_PRECONFIG, nil, nil, 0);
if Assigned(hNet) then
begin
try
hURL := I...
Hi,
I have a client program that uploads files to the server. Initially I used POST method and have mod_python to save a uploaded file. Then, I found that a file might contain some special character so by the time my function is called, some of data have been cut off because I think that Apache is parsing data that I am POSTing.
Thus, i...
I'm developing an ASP.Net handler with C# that receives an array of data posted from an external Flash program. How can I use the data as array? It seems the HTTP Context used in ASP.Net automatically html-decodes the post data so that it comes out as a simple string. The separator in this case is comma (could be it's always a comma, nev...
This is the PHP code:
$html=<<<eod
<div>Your current account balance is <span style="color:red">$$balance</span></div><br/>
<form id="digitalchange" action="digitalchange.php?" action="post">
<input type="hidden" name="tid" value=$announcementid />
<table rules=all FRAME=BOX><tr><td>Balance:<span class="price">$balance</span></td><td>Cu...
I'm working on ASP.NET file uploader and currently trying to resolve the following issue:
Assume at some moment the server side HttpModule decides that incoming data stream is too long and must be aborted. So the code that would handle this situation at first glance would be very simple. Like this:
try {
...
if (size >= maxSize)
...
Here's the code (extracted from an existing application):
CURL *curl = curl_easy_init();
_ASSERTE(curl);
string url = "http://127.0.0.1:8000/";
char *data = "mode=test";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
curl_easy_setopt(curl, CURLOPT_URL, url);
CURLcode res = curl_easy_perform(curl);
bool success = (res == CURLE_OK);...
Hello:
I am attempting to use PHP and cURL to:
Access a web-form & maintain session
Post the data to that form with session in place
In my head, I see it as two separate functions, one to get the form (initiate session) and another to post the data.
...
I'm trying to post form data to Google Checkout using the following code:
x = Net::HTTP.post_form(URI.parse('https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/[merchant_number_here]'), @params)
When I attempt to submit using this line, I get the following error:
Errno::ECONNRESET in PaymentsController#create
Connectio...
Is it possible to resume interrupted uploads using HTTP Post? I am working on a project that uploads several files to a HTTP server. Thanks.
...