On my web server I will be creating a bespoke XML file for a client app to access. This means I must authenticate the client and then give the client the XML file.
I believe the client application will need to post data (login, password) to the server and once a connection is established, it will receive the XML file from the server (m...
I'm writing code, which takes the raw body of the post request (from a form, basically) and splits it into variables. Then it does some recoding on them and spits out the recoded post body back to output.
My question is if I can safely assume that splitting the body by the "&" character and then by "=" on the elements of the resulting a...
Ok so my main window is going to open up a popup window, the popup window is going to contain a Flex app.
The flex app is going to need to navigatToURL() but also send POST data along with it.
However instead of the popup-window navigating, I would like to main-window to navigate to the url and recieve the post vars.
Is this possible?...
The code below shows a Wordpress loop. How can I modify this loop to show only one post on the page?
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="fullbox" id="post-<?php the_ID(); ?>">
<h3><?php the_category(', ') ?></h3>
<div class="fullbox_content">
<h1><a href="<?php the_permalink(); ?>" rel="b...
I'm looking to write some Javascript which will make an Ajax PUT or POST request to an HTTP server. I'm assuming that the information which gets passed as the argument to request.send needs to be in XML format. Could somebody shoe me an example of how to create this XML and pass it to request.send([Entity-body]) as the entity-body.
Than...
Hello.
I'm sending jpegs to a web server via Http POST. I can access the bytes of each jpeg file that reaches the web server.
Now I want do display these jpeg as they reach the web server, as a mjpeg video.
How can I do it?
Please help!
Thanks
...
I'm looking for a way to submit a post to pastie.org, or pastebin.com from within my C# app, i know ill have to use some sort of http post but im looking for specific examples..
...
I have six pages for a registration form in my PHP project.
In between any of the page if I press the back button from the explorer bar I get the error:
"Webpage has Expired".
I am using $_POST to submit the data. I can't understand why this occurs?
...
i got a jquery upload and crop script and i am trying to use it.
First i have a 1.html file which has a form, which requires some texts and image. After submitting the form it goes to main.php where it checks for some image properties and if successful it refreshes the page using header("location:".$_SERVER["PHP_SELF"]);
So if i place...
I want to see if there are any POST vars set. Is there anyway i can do this?
...
Hi
There's a web page with a search engine:
http://www.nukat.edu.pl/cgi-bin/gw_48_1_12/chameleon?sessionid=2010010122520520752&skin=default&lng=pl&inst=consortium&search=KEYWORD&function=SEARCHSCR&SourceScreen=NOFUNC&elementcount=1&pos=1&submit=TabData
I want to use its search engine from a java app...
POST /upload HTTP/1.1
Host: assets.drop.io
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2
009042316 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Length: 5728
Content-Type: multipart/form-data; boundary=--------MalolHCBdarysNYMHZbIvjbD
--------MalolHCBda...
Is it bad practice to issue the following POST request:
/test?a=1&b=2
POST data: c=3&d=4
Notice that 2 parameters are part of the URL and 2 parameters are part of the POST content.
On another note, is the following rule still recommended:
GET request: retrieve content from
the server but do not change anything
on the server.
POST r...
I've hit a wall on POST'ing data to a webform :(
Below is the code I've adapted from many places (here most recently: http://p2p.wrox.com/asp-net-1-0-1-1-professional/34517-webrequest-webresponse-form-submit-problem-help.html )
Dim url As String = "https://student.ashford.edu/student/"
Dim data As String = "username=myusername&...
i want to display custom html code when a post is rendered (so not when is inserted into db).
I currently do this with *add_filter('the_content', 'my_custom_method')*. The only problem is that i want this do be displayed only inside the post (when is viewed in its own page), not when all posts are rendered .
I banged my head...
In the code below, DoGet is working very stable. But DoPost throws an uncatcheable InvalidOperationException randomly. I am lost. Any pointers will be of immense help.
/*
Environment
-------------
* NET CF 2.0
* WM 5.0(USA Mobile Pocket PC Emulator)
* Windows XP Professional SP2
* VS 2008
*/
/*
The exception...
How can I do the reverse of a regular PayPal transaction. The only information I found in their documents was for the customer to pay us for things. What if we want to pay out the customer?
Is there a way to give a transaction type to reverse and pay out to the customer instead of them paying us?
Update: Turns out you can use Mass Paym...
For a GET request I've tried this simple method:
NSString *urlAddress = @"http://example.com/";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[uiWebViewThingy loadRequest:request];
(Although it doesn't seem to work if the request contains high UTF-8 ch...
I'm building a very simple REST API using Jersey, and I've got a warning in my log files that I'm not sure about.
WARNING: A servlet POST request, to
the URI
http://myserver/mycontext/myapi/users/12345?action=delete,
contains form parameters in the
request body but the request body has
been consumed by the servlet or a
se...
Hello! I have to send get or post request to localhost:
<?php
if(@$_GET['option']) {
echo "You said \"{$_GET['option']}\"";
}else if(@$_POST['option']) {
echo "You said \"{$_POST['option']}\"";
}
?>
ive using this code:
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://localhost/wsh/index.php?o...